-
Notifications
You must be signed in to change notification settings - Fork 1
/
profile.go
23 lines (20 loc) · 923 Bytes
/
profile.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package models
type KeyValue struct {
ID string `json:"id"`
Key string `json:"key"`
Value string `json:"value"`
}
type ReusableTokenAuthentication struct {
Token string `json:"token"`
MaxNumberOfAgents int `json:"maxNumberOfAgents"`
}
// KubernetesProfile represents the profile object as it is returned from mgmt
type KubernetesProfile struct {
ID string `json:"id"`
Name string `json:"name"`
ProfileType string `json:"profileType"`
ProfileSubType string `json:"profileSubType"`
Authentication ReusableTokenAuthentication `json:"authentication,omitempty"`
AdditionalSettings []KeyValue `json:"additionalSettings"`
OnlyDefinedApplications bool `json:"onlyDefinedApplications,omitempty"`
}