summaryrefslogtreecommitdiffhomepage
path: root/kube/kubeapi/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'kube/kubeapi/api.go')
-rw-r--r--kube/kubeapi/api.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/kube/kubeapi/api.go b/kube/kubeapi/api.go
index a2ae8cc79..e62bd6e2b 100644
--- a/kube/kubeapi/api.go
+++ b/kube/kubeapi/api.go
@@ -153,6 +153,14 @@ type Secret struct {
Data map[string][]byte `json:"data,omitempty"`
}
+// SecretList is a list of Secret objects.
+type SecretList struct {
+ TypeMeta `json:",inline"`
+ ObjectMeta `json:"metadata"`
+
+ Items []Secret `json:"items,omitempty"`
+}
+
// Event contains a subset of fields from corev1.Event.
// https://github.com/kubernetes/api/blob/6cc44b8953ae704d6d9ec2adf32e7ae19199ea9f/core/v1/types.go#L7034
// It is copied here to avoid having to import kube libraries.