model/config/credential/UnixCredential.go

17 lines
631 B
Go
Raw Normal View History

2018-08-30 09:57:59 +00:00
package credential
import "encoding/json"
type UnixCredential struct {
Credential
2018-08-30 11:12:07 +00:00
2018-08-30 09:57:59 +00:00
User string `json:"user,omitempty"`
LoginType string `json:"loginType,omitempty"`
Password string `json:"password,omitempty"`
PrivateKey string `json:"privateKey,omitempty"`
SSHPort json.Number `json:"sshPort,Number,omitempty"`
SSHRightsElevationType string `json:"sshRightsElevationType,omitempty"`
TargetUser string `json:"targetUser,omitempty"`
TargetUserPassword string `json:"targetUserPassword,omitempty"`
}