mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
clean database models directory (#8026)
This commit is contained in:
parent
881e99df53
commit
6775c7b6ec
12 changed files with 12 additions and 12 deletions
17
api/http/models/kubernetes/configmaps_and_secrets.go
Normal file
17
api/http/models/kubernetes/configmaps_and_secrets.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package kubernetes
|
||||
|
||||
type (
|
||||
K8sConfigMapOrSecret struct {
|
||||
UID string `json:"UID"`
|
||||
Name string `json:"Name"`
|
||||
Namespace string `json:"Namespace"`
|
||||
CreationDate string `json:"CreationDate"`
|
||||
Annotations map[string]string `json:"Annotations"`
|
||||
Data map[string]string `json:"Data"`
|
||||
Applications []string `json:"Applications"`
|
||||
IsSecret bool `json:"IsSecret"`
|
||||
|
||||
// SecretType will be an empty string for config maps.
|
||||
SecretType string `json:"SecretType"`
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue