Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHInfoResponse ¶
type SSHInfoResponse struct {
api.SSHInfoResponse
TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"`
}
SSHInfoResponse is a type for the response about a user's ssh keys
func (*SSHInfoResponse) SetTokenUpdate ¶
func (info *SSHInfoResponse) SetTokenUpdate(tokenUpdate *my.MytokenResponse)
SetTokenUpdate implements the pkg.TokenUpdatableResponse interface
type SSHKeyAddRequest ¶
type SSHKeyAddRequest struct {
api.SSHKeyAddRequest
Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
Restrictions restrictions.Restrictions `json:"restrictions" form:"restrictions" xml:"restrictions"`
}
SSHKeyAddRequest is a type for a request to add an ssh key
type SSHKeyAddResponse ¶
type SSHKeyAddResponse struct {
api.SSHKeyAddResponse
TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"`
}
SSHKeyAddResponse is a type for the (first) response to an SSHKeyAddRequest
func (*SSHKeyAddResponse) SetTokenUpdate ¶
func (info *SSHKeyAddResponse) SetTokenUpdate(tokenUpdate *my.MytokenResponse)
SetTokenUpdate implements the pkg.TokenUpdatableResponse interface
type SSHKeyDeleteRequest ¶
type SSHKeyDeleteRequest struct {
api.SSHKeyDeleteRequest
Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
}
SSHKeyDeleteRequest is a type for a request to delete an ssh key
Click to show internal directories.
Click to hide internal directories.