Skip to content

Commit

Permalink
Update Kubernetes v1.18.9 dependencies (#391)
Browse files Browse the repository at this point in the history
Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Feb 17, 2021
1 parent 8f31d09 commit b0f2a1c
Show file tree
Hide file tree
Showing 8 changed files with 1,176 additions and 79 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
k8s.io/apiserver v0.18.9
k8s.io/client-go v0.18.9
kmodules.xyz/client-go v0.0.0-20210213000708-f480974ce46d
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5
kmodules.xyz/webhook-runtime v0.0.0-20201105073856-2dc7382b88c6
kubedb.dev/apimachinery v0.16.2
kubedb.dev/elasticsearch v0.16.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,8 @@ kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6/go.mod h1:DbiFk1bJ1KEO
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4/go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c h1:OIAnTI2yik4i1DSe23kO+89RMw/Eu6WUG/IQ++ivYNo=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5 h1:YigtxpoQw/sw0QtAzq4DEp0T/rRCMO+yp+S7y/7s0L4=
kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/monitoring-agent-api v0.0.0-20201105074044-be7a1044891a h1:3uwHtoj4msqYEoAJ7lyS7z3OFeQPF9v3J4Iv8shs86U=
kmodules.xyz/monitoring-agent-api v0.0.0-20201105074044-be7a1044891a/go.mod h1:r8b8lckYt5Gc5tiF3NSBPJmUrxPILerNRdozcaX7grI=
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a h1:FJ8Fwn+BCalLuzkhjmyDf7Fuh19LBIEf/Fx/+xaYDB0=
Expand Down

Large diffs are not rendered by default.

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

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// StashTask defines a Stash backup and restore task definitions.

type StashTask struct {
metav1.TypeMeta `json:",inline,omitempty"`
Stash StashTaskSpec `json:"stash,omitempty" protobuf:"bytes,1,opt,name=stash"`
}

// StashTaskSpec is the spec for app
type StashTaskSpec struct {
// Backup task definition
BackupTask TaskRef `json:"backupTask" protobuf:"bytes,1,opt,name=backupTask"`

// Restore task definition
RestoreTask TaskRef `json:"restoreTask" protobuf:"bytes,2,opt,name=restoreTask"`
}

type TaskRef struct {
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// Params specifies a list of parameter to pass to the Task. Stash will use this parameters to resolve the task.
// +optional
Params []Param `json:"params,omitempty" protobuf:"bytes,2,rep,name=params"`
}

// Param declares a value to use for the Param called Name.
type Param struct {
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

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 @@ -1149,7 +1149,7 @@ kmodules.xyz/constants/aws
kmodules.xyz/constants/azure
kmodules.xyz/constants/google
kmodules.xyz/constants/openstack
# kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
# kmodules.xyz/custom-resources v0.0.0-20210216191337-d890c51255a5
kmodules.xyz/custom-resources/apis/appcatalog
kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1
kmodules.xyz/custom-resources/client/clientset/versioned
Expand Down

0 comments on commit b0f2a1c

Please sign in to comment.