Documentation
¶
Index ¶
- type DigitalOcean
- func (d *DigitalOcean) CreateSSHKey(token string, sshKey string) (interface{}, error)
- func (d *DigitalOcean) CreateServer(token string, sshKey interface{}) (*string, *string, error)
- func (d *DigitalOcean) EnterCredentials() (string, map[string]string)
- func (d *DigitalOcean) OAuth2() *oauth2.Config
- func (d *DigitalOcean) ValidateCredentials(ctx *fiber.Ctx, session *session.Session) error
- type Droplet
- type DropletCreate
- type DropletNetwork
- type SSHKey
- type SSHKeyCreate
- type SSHKeyCreated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigitalOcean ¶
type DigitalOcean struct {
// contains filtered or unexported fields
}
func (*DigitalOcean) CreateSSHKey ¶
func (d *DigitalOcean) CreateSSHKey(token string, sshKey string) (interface{}, error)
func (*DigitalOcean) CreateServer ¶
func (d *DigitalOcean) CreateServer(token string, sshKey interface{}) (*string, *string, error)
func (*DigitalOcean) EnterCredentials ¶
func (d *DigitalOcean) EnterCredentials() (string, map[string]string)
func (*DigitalOcean) OAuth2 ¶
func (d *DigitalOcean) OAuth2() *oauth2.Config
func (*DigitalOcean) ValidateCredentials ¶
func (d *DigitalOcean) ValidateCredentials(ctx *fiber.Ctx, session *session.Session) error
type DropletCreate ¶
type DropletNetwork ¶
type SSHKeyCreate ¶
type SSHKeyCreated ¶
type SSHKeyCreated struct { SSHKey struct { ID int `json:"id"` } `json:"ssh_key"` }
Click to show internal directories.
Click to hide internal directories.