Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jan 17, 2023
1 parent c221f8b commit d93fabe
Show file tree
Hide file tree
Showing 9 changed files with 240 additions and 180 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require (
k8s.io/kube-aggregator v0.25.1
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280
k8s.io/metrics v0.25.1
kmodules.xyz/client-go v0.25.14
kmodules.xyz/client-go v0.25.16
kmodules.xyz/crd-schema-fuzz v0.25.0
kmodules.xyz/custom-resources v0.25.1
kmodules.xyz/monitoring-agent-api v0.25.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1365,8 +1365,8 @@ k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85 h1:cTdVh7LYu82xeClmfzGtgyspNh6Ux
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
kmodules.xyz/apiversion v0.2.0 h1:vAQYqZFm4xu4pbB1cAdHbFEPES6EQkcR4wc06xdTOWk=
kmodules.xyz/apiversion v0.2.0/go.mod h1:oPX8g8LvlPdPX3Yc5YvCzJHQnw3YF/X4/jdW0b1am80=
kmodules.xyz/client-go v0.25.14 h1:8znhvnL73etOVeTGNcSQjqOAt5bK9vxin9dZPQUNtA4=
kmodules.xyz/client-go v0.25.14/go.mod h1:PG0s5FqmCvIKXudUhaJELBVbKbX6ESoefVR1cibkl+0=
kmodules.xyz/client-go v0.25.16 h1:B9gf90o+eWFlGgXv+hx0k8atkCRjMpDgAWycvA/obfk=
kmodules.xyz/client-go v0.25.16/go.mod h1:PG0s5FqmCvIKXudUhaJELBVbKbX6ESoefVR1cibkl+0=
kmodules.xyz/crd-schema-fuzz v0.25.0 h1:c5ZxNRqJak1bkGhECmyrKpzKGThFMB4088Kynyvngbc=
kmodules.xyz/crd-schema-fuzz v0.25.0/go.mod h1:VigFz19GwCxMGhb3YjCtlSXmfXb0J/g9du1So6rvqsk=
kmodules.xyz/custom-resources v0.25.1 h1:0qHPTxbT/q0afl2GCOnwPFaoxKziRIPXgVu77YwrCa4=
Expand Down
340 changes: 191 additions & 149 deletions vendor/kmodules.xyz/client-go/api/v1/generated.pb.go

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions vendor/kmodules.xyz/client-go/api/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions vendor/kmodules.xyz/client-go/api/v1/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ type Lineage struct {
}

type ImageInfo struct {
Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"`
Lineages []Lineage `json:"lineages,omitempty" protobuf:"bytes,2,rep,name=lineages"`
PullSecrets *PullSecrets `json:"pullSecrets" protobuf:"bytes,3,opt,name=pullSecrets"`
Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
Lineages []Lineage `json:"lineages,omitempty" protobuf:"bytes,2,rep,name=lineages"`
PullCredentials *PullCredentials `json:"pullCredentials,omitempty" protobuf:"bytes,3,opt,name=pullCredentials"`
}

type PullSecrets struct {
Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
Refs []core.LocalObjectReference `json:"refs,omitempty" protobuf:"bytes,2,rep,name=refs"`
type PullCredentials struct {
Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,2,opt,name=serviceAccountName"`
SecretRefs []core.LocalObjectReference `json:"secretRefs,omitempty" protobuf:"bytes,3,rep,name=secretRefs"`
}
27 changes: 18 additions & 9 deletions vendor/kmodules.xyz/client-go/api/v1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions vendor/kmodules.xyz/client-go/api/v1/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ func ExtractResourceID(mapper meta.RESTMapper, in ResourceID) (*ResourceID, erro
if in.Group == "core" {
in.Group = ""
}
if in.Version != "" &&
in.Kind != "" &&
in.Name != "" &&
in.Scope != "" {
return &in, nil
}

kindFound := in.Kind != ""
resFOund := in.Name != ""
Expand Down
18 changes: 9 additions & 9 deletions vendor/kmodules.xyz/client-go/api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ k8s.io/utils/trace
# kmodules.xyz/apiversion v0.2.0
## explicit; go 1.14
kmodules.xyz/apiversion
# kmodules.xyz/client-go v0.25.14
# kmodules.xyz/client-go v0.25.16
## explicit; go 1.18
kmodules.xyz/client-go
kmodules.xyz/client-go/api/v1
Expand Down

0 comments on commit d93fabe

Please sign in to comment.