Skip to content

Commit 0338a91

Browse files
authored
Update Kubernetes v1.18.9 dependencies (#1319)
/cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com>
1 parent b906389 commit 0338a91

File tree

8 files changed

+1176
-79
lines changed

8 files changed

+1176
-79
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ require (
4040
k8s.io/kubernetes v1.18.9
4141
kmodules.xyz/client-go v0.0.0-20210213000708-f480974ce46d
4242
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6
43-
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
43+
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5
4444
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a
4545
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2
4646
kmodules.xyz/openshift v0.0.0-20201105073146-0da509a7d39f

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,8 @@ kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6/go.mod h1:DbiFk1bJ1KEO
11641164
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4/go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE=
11651165
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c h1:OIAnTI2yik4i1DSe23kO+89RMw/Eu6WUG/IQ++ivYNo=
11661166
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
1167+
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5 h1:YigtxpoQw/sw0QtAzq4DEp0T/rRCMO+yp+S7y/7s0L4=
1168+
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
11671169
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a h1:FJ8Fwn+BCalLuzkhjmyDf7Fuh19LBIEf/Fx/+xaYDB0=
11681170
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a/go.mod h1:87wP8pKn5ICyQcbK+w+4Jlx5JQy/+mkDGj7T/Qnfrpk=
11691171
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2 h1:JVuNeHhVq/iRRM2yRF7nuYUdq1necfAPGpA5JjUcBuk=

vendor/kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1/generated.pb.go

Lines changed: 896 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1/generated.proto

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1/openapi_generated.go

Lines changed: 125 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
Copyright AppsCode Inc. and Contributors
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
package v1alpha1
18+
19+
import (
20+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21+
)
22+
23+
// StashTask defines a Stash backup and restore task definitions.
24+
25+
type StashTask struct {
26+
metav1.TypeMeta `json:",inline,omitempty"`
27+
Stash StashTaskSpec `json:"stash,omitempty" protobuf:"bytes,1,opt,name=stash"`
28+
}
29+
30+
// StashTaskSpec is the spec for app
31+
type StashTaskSpec struct {
32+
// Backup task definition
33+
BackupTask TaskRef `json:"backupTask" protobuf:"bytes,1,opt,name=backupTask"`
34+
35+
// Restore task definition
36+
RestoreTask TaskRef `json:"restoreTask" protobuf:"bytes,2,opt,name=restoreTask"`
37+
}
38+
39+
type TaskRef struct {
40+
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
41+
// Params specifies a list of parameter to pass to the Task. Stash will use this parameters to resolve the task.
42+
// +optional
43+
Params []Param `json:"params,omitempty" protobuf:"bytes,2,rep,name=params"`
44+
}
45+
46+
// Param declares a value to use for the Param called Name.
47+
type Param struct {
48+
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
49+
Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
50+
}

vendor/kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1/zz_generated.deepcopy.go

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ kmodules.xyz/constants/aws
11581158
kmodules.xyz/constants/azure
11591159
kmodules.xyz/constants/google
11601160
kmodules.xyz/constants/openstack
1161-
# kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
1161+
# kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5
11621162
kmodules.xyz/custom-resources/apis/appcatalog
11631163
kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1
11641164
kmodules.xyz/custom-resources/client/clientset/versioned

0 commit comments

Comments
 (0)