@@ -94,7 +94,7 @@ function put!(ctx::KuberContext, v::T) where {T<:SwaggerModel}
94
94
put! (ctx, Symbol (vjson[" kind" ]), vjson)
95
95
end
96
96
97
- function put! (ctx:: KuberContext , O:: Symbol , d:: Dict{String,Any} )
97
+ function put! (ctx:: KuberContext , O:: Symbol , d:: Dict{String,Any} ; max_tries :: Int = 1 )
98
98
ctx. initialized || set_api_versions! (ctx)
99
99
100
100
apictx = _get_apictx (ctx, O, get (d, " apiVersion" , nothing ))
@@ -114,7 +114,7 @@ function delete!(ctx::KuberContext, v::T; kwargs...) where {T<:SwaggerModel}
114
114
delete! (ctx, Symbol (kind), name; apiversion= get (vjson, " apiVersion" , nothing ), kwargs... )
115
115
end
116
116
117
- function delete! (ctx:: KuberContext , O:: Symbol , name:: String ; apiversion:: Union{String,Nothing} = nothing , kwargs... )
117
+ function delete! (ctx:: KuberContext , O:: Symbol , name:: String ; apiversion:: Union{String,Nothing} = nothing , max_tries :: Int = 1 , kwargs... )
118
118
ctx. initialized || set_api_versions! (ctx)
119
119
apictx = _get_apictx (ctx, O, apiversion)
120
120
@@ -137,7 +137,7 @@ function update!(ctx::KuberContext, v::T, patch, patch_type) where {T<:SwaggerMo
137
137
update! (ctx, Symbol (kind), name, patch, patch_type; apiversion= get (vjson, " apiVersion" , nothing ))
138
138
end
139
139
140
- function update! (ctx:: KuberContext , O:: Symbol , name:: String , patch, patch_type; apiversion:: Union{String,Nothing} = nothing )
140
+ function update! (ctx:: KuberContext , O:: Symbol , name:: String , patch, patch_type; apiversion:: Union{String,Nothing} = nothing , max_tries :: Int = 1 )
141
141
ctx. initialized || set_api_versions! (ctx)
142
142
143
143
apictx = _get_apictx (ctx, O, apiversion)
0 commit comments