This commit updates the secret commands to use `Secret` struct from the faas-provider rather than using it's own struct. Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
14 lines
374 B
Go
14 lines
374 B
Go
package schema
|
|
|
|
type KubernetesSecret struct {
|
|
Kind string `json:"kind"`
|
|
ApiVersion string `json:"apiVersion"`
|
|
Metadata KubernetesSecretMetadata `json:"metadata"`
|
|
Data map[string]string `json:"data"`
|
|
}
|
|
|
|
type KubernetesSecretMetadata struct {
|
|
Name string `json:"name"`
|
|
Namespace string `json:"namespace"`
|
|
}
|