Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK encompasses all authorization for working with digital ocean api
func NewFromAccount ¶
func NewFromAccount(account *model.CloudAccount) (*SDK, error)
NewFromAccount extracts credentials from accounts and returns SDK ready to be used
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
Click to show internal directories.
Click to hide internal directories.