mirror of
https://github.com/rancher/types.git
synced 2025-09-16 14:59:16 +00:00
Add types for answers set string
This commit is contained in:
@@ -287,13 +287,15 @@ type IngressCapabilities struct {
|
||||
}
|
||||
|
||||
type MonitoringInput struct {
|
||||
Version string `json:"version,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty"`
|
||||
AnswersSetString map[string]string `json:"answersSetString,omitempty"`
|
||||
}
|
||||
|
||||
type MonitoringOutput struct {
|
||||
Version string `json:"version,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty"`
|
||||
AnswersSetString map[string]string `json:"answersAnswersSetString,omitempty"`
|
||||
}
|
||||
|
||||
type RestoreFromEtcdBackupInput struct {
|
||||
|
@@ -60,9 +60,10 @@ func (t *Target) ObjClusterName() string {
|
||||
}
|
||||
|
||||
type Answer struct {
|
||||
ProjectName string `json:"projectName,omitempty" norman:"type=reference[project]"`
|
||||
ClusterName string `json:"clusterName,omitempty" norman:"type=reference[cluster]"`
|
||||
Values map[string]string `json:"values,omitempty" norman:"required"`
|
||||
ProjectName string `json:"projectName,omitempty" norman:"type=reference[project]"`
|
||||
ClusterName string `json:"clusterName,omitempty" norman:"type=reference[cluster]"`
|
||||
Values map[string]string `json:"values,omitempty" norman:"required"`
|
||||
ValuesSetString map[string]string `json:"valuesSetString,omitempty"`
|
||||
}
|
||||
|
||||
func (a *Answer) ObjClusterName() string {
|
||||
|
Reference in New Issue
Block a user