Documentation
¶
Index ¶
- func NewCreateCmd() *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewGetCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewUpdateCmd() *cobra.Command
- type CreateSSHKeyOperation
- type DeleteSSHKeyOperation
- type GetSSHKeyOperation
- type ListSSHKeyOperation
- type SSHKey
- type SSHKeys
- type UpdateSSHKeyOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
func NewDeleteCmd ¶
func NewListCmd ¶
func NewUpdateCmd ¶
Types ¶
type CreateSSHKeyOperation ¶
type CreateSSHKeyOperation struct{}
type DeleteSSHKeyOperation ¶
type DeleteSSHKeyOperation struct{}
type GetSSHKeyOperation ¶
type GetSSHKeyOperation struct{}
type ListSSHKeyOperation ¶
type ListSSHKeyOperation struct{}
type SSHKey ¶
type SSHKey struct {
components.SSHKeyData
}
SSHKey wraps the SDK's SSHKeyData so it can be rendered as a table row or serialized through the shared renderer. It backs both the account-scoped (`lsh ssh-keys`) and project-scoped (`lsh projects ssh-keys`) commands, which return the same underlying resource.
func (*SSHKey) DetailFields ¶
DetailFields exposes the fields shown only in the details view.
func (*SSHKey) DetailView ¶
func (m *SSHKey) DetailView() renderer.DetailView
DetailView describes how SSH keys are titled in the interactive views.
func (*SSHKey) GetData ¶
func (m *SSHKey) GetData() []renderer.ResponseData
type SSHKeys ¶
type SSHKeys struct {
Data []*SSHKey
}
SSHKeys is a renderable collection of SSH keys.
func (*SSHKeys) GetData ¶
func (m *SSHKeys) GetData() []renderer.ResponseData
type UpdateSSHKeyOperation ¶
type UpdateSSHKeyOperation struct{}
Click to show internal directories.
Click to hide internal directories.