From 77cb6adc9f801a9f2058c3dc450919c292b67fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Flendrich?= Date: Tue, 2 Mar 2021 15:22:59 +0100 Subject: [PATCH 1/2] feat: add Service.URL --- kong/types.go | 1 + kong/zz_generated.deepcopy.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/kong/types.go b/kong/types.go index 8e393a24c..63215b6d0 100644 --- a/kong/types.go +++ b/kong/types.go @@ -21,6 +21,7 @@ type Service struct { ReadTimeout *int `json:"read_timeout,omitempty" yaml:"read_timeout,omitempty"` Retries *int `json:"retries,omitempty" yaml:"retries,omitempty"` UpdatedAt *int `json:"updated_at,omitempty" yaml:"updated_at,omitempty"` + URL *string `json:"url,omitempty" yaml:"url,omitempty"` WriteTimeout *int `json:"write_timeout,omitempty" yaml:"write_timeout,omitempty"` Tags []*string `json:"tags,omitempty" yaml:"tags,omitempty"` TLSVerify *bool `json:"tls_verify,omitempty" yaml:"tls_verify,omitempty"` diff --git a/kong/zz_generated.deepcopy.go b/kong/zz_generated.deepcopy.go index f35133c90..2505b611b 100644 --- a/kong/zz_generated.deepcopy.go +++ b/kong/zz_generated.deepcopy.go @@ -1481,6 +1481,11 @@ func (in *Service) DeepCopyInto(out *Service) { *out = new(int) **out = **in } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } if in.WriteTimeout != nil { in, out := &in.WriteTimeout, &out.WriteTimeout *out = new(int) From 05761c817a3ce052d6344ab5c2658d0af10ae328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Flendrich?= Date: Wed, 3 Mar 2021 14:53:26 +0100 Subject: [PATCH 2/2] chore(changelog): add v0.15.0 and v0.16.0 --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f66ec01af..365013a58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Table of Contents +- [v0.15.0](#v0150---20210122) - [v0.14.0](#v0140---20210112) - [v0.13.0](#v0130---20200804) - [v0.12.0](#v0120---20200730) @@ -19,6 +20,18 @@ - [0.2.0](#020---20181219) - [0.1.0](#010---20181201) +## [v0.16.0] - 2021/03/03 + +### Added + +- `Service` now includes `URL`. + +## [v0.15.0] - 2021/01/22 + +### Added + +- `Route` now includes `RequestBuffering` and `ResponseBuffering`. + ## [v0.14.0] - 2021/01/12 ### Breaking changes @@ -277,6 +290,8 @@ authentication credentials in Kong. releases of Kong since every release of Kong is introducing breaking changes to the Admin API. +[v0.16.0]: https://github.com/Kong/go-kong/compare/v0.15.0...v0.16.0 +[v0.15.0]: https://github.com/Kong/go-kong/compare/v0.14.0...v0.15.0 [v0.14.0]: https://github.com/Kong/go-kong/compare/v0.13.0...v0.14.0 [v0.13.0]: https://github.com/Kong/go-kong/compare/v0.12.0...v0.13.0 [v0.12.0]: https://github.com/Kong/go-kong/compare/v0.11.0...v0.12.0