mirror of https://github.com/knative/caching.git
upgrade to latest dependencies (#738)
bumping knative.dev/pkg b7f2774...ee73c93:%0A > ee73c93 upgrade to latest dependencies (# 2710)%0A > 4835a4c Eventing TLS: update destination and Kref types (# 2716) Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
6807e046f6
commit
fca41c192d
2
go.mod
2
go.mod
|
@ -12,7 +12,7 @@ require (
|
|||
k8s.io/code-generator v0.25.4
|
||||
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1
|
||||
knative.dev/hack v0.0.0-20230330174700-1421f120c36b
|
||||
knative.dev/pkg v0.0.0-20230403151233-b7f277446167
|
||||
knative.dev/pkg v0.0.0-20230404101938-ee73c9355c9d
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
4
go.sum
4
go.sum
|
@ -800,8 +800,8 @@ k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJ
|
|||
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
|
||||
knative.dev/hack v0.0.0-20230330174700-1421f120c36b h1:20HMZEfXRdMPObZcV2MiZmcoJ9ms98qeWx0aUoHUAnc=
|
||||
knative.dev/hack v0.0.0-20230330174700-1421f120c36b/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||
knative.dev/pkg v0.0.0-20230403151233-b7f277446167 h1:wEE7LU/1PRdJ7Jkfui+Ki9N1zLY+bCRU3SiamM5u+cY=
|
||||
knative.dev/pkg v0.0.0-20230403151233-b7f277446167/go.mod h1:S+KfTInuwEkZSTwvWqrWZV/TEw6ps51GUGaSC1Fnbe0=
|
||||
knative.dev/pkg v0.0.0-20230404101938-ee73c9355c9d h1:mubqXUjYfnwNg3IGWYEj2YffXYIxg44Qn9GS5vPAjck=
|
||||
knative.dev/pkg v0.0.0-20230404101938-ee73c9355c9d/go.mod h1:EQk8+qkZ8fMtrDYOOb9e9xMQG29N+L54iXBCfNXRm90=
|
||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
|
||||
|
|
|
@ -31,6 +31,13 @@ type Destination struct {
|
|||
// URI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
|
||||
// +optional
|
||||
URI *apis.URL `json:"uri,omitempty"`
|
||||
|
||||
// CACerts are Certification Authority (CA) certificates in PEM format
|
||||
// according to https://www.rfc-editor.org/rfc/rfc7468.
|
||||
// If set, these CAs are appended to the set of CAs provided
|
||||
// by the Addressable target, if any.
|
||||
// +optional
|
||||
CACerts *string `json:"CACerts,omitempty"`
|
||||
}
|
||||
|
||||
// Validate the Destination has all the necessary fields and check the
|
||||
|
|
|
@ -49,6 +49,10 @@ type KReference struct {
|
|||
// Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086
|
||||
// +optional
|
||||
Group string `json:"group,omitempty"`
|
||||
|
||||
// Address points to a specific Address Name.
|
||||
// +optional
|
||||
Address *string `json:"address,omitempty"`
|
||||
}
|
||||
|
||||
func (kr *KReference) Validate(ctx context.Context) *apis.FieldError {
|
||||
|
|
|
@ -349,13 +349,18 @@ func (in *Destination) DeepCopyInto(out *Destination) {
|
|||
if in.Ref != nil {
|
||||
in, out := &in.Ref, &out.Ref
|
||||
*out = new(KReference)
|
||||
**out = **in
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.URI != nil {
|
||||
in, out := &in.URI, &out.URI
|
||||
*out = new(apis.URL)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.CACerts != nil {
|
||||
in, out := &in.CACerts, &out.CACerts
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -372,6 +377,11 @@ func (in *Destination) DeepCopy() *Destination {
|
|||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *KReference) DeepCopyInto(out *KReference) {
|
||||
*out = *in
|
||||
if in.Address != nil {
|
||||
in, out := &in.Address, &out.Address
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -690,7 +690,7 @@ k8s.io/utils/trace
|
|||
# knative.dev/hack v0.0.0-20230330174700-1421f120c36b
|
||||
## explicit; go 1.18
|
||||
knative.dev/hack
|
||||
# knative.dev/pkg v0.0.0-20230403151233-b7f277446167
|
||||
# knative.dev/pkg v0.0.0-20230404101938-ee73c9355c9d
|
||||
## explicit; go 1.18
|
||||
knative.dev/pkg/apis
|
||||
knative.dev/pkg/apis/duck
|
||||
|
|
Loading…
Reference in New Issue