Add secret list command to faas-cli

This commit adds `faas-cli secret list` command to the faas-cli which
will be used to get secret list from the cluster.

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
Vivek Singh
2019-01-05 18:35:47 +05:30
committed by Alex Ellis
parent 200359ce22
commit 35312884d6
4 changed files with 143 additions and 0 deletions

View File

@@ -11,3 +11,7 @@ type KubernetesSecretMetadata struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
}
type Secret struct {
Name string `json:"name"`
}