mirror of
https://github.com/rancher/types.git
synced 2025-09-19 00:46:53 +00:00
go generate
This commit is contained in:
committed by
Alena Prokharchyk
parent
365da17d01
commit
f3b0d3f5ed
@@ -33,6 +33,6 @@ type RKEConfigNode struct {
|
||||
SSHCertPath string `json:"sshCertPath,omitempty" yaml:"sshCertPath,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
Taints []Taint `json:"taints,omitempty" yaml:"taints,omitempty"`
|
||||
Taints []RKETaint `json:"taints,omitempty" yaml:"taints,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
}
|
||||
|
16
client/management/v3/zz_generated_rke_taint.go
Normal file
16
client/management/v3/zz_generated_rke_taint.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RKETaintType = "rkeTaint"
|
||||
RKETaintFieldEffect = "effect"
|
||||
RKETaintFieldKey = "key"
|
||||
RKETaintFieldTimeAdded = "timeAdded"
|
||||
RKETaintFieldValue = "value"
|
||||
)
|
||||
|
||||
type RKETaint struct {
|
||||
Effect string `json:"effect,omitempty" yaml:"effect,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
TimeAdded string `json:"timeAdded,omitempty" yaml:"timeAdded,omitempty"`
|
||||
Value string `json:"value,omitempty" yaml:"value,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user