Documentation ¶
Overview ¶
Package account is responsible for retrieving information related to the current account.
Index ¶
- type API
- func (a *API) ListDataPersistence(ctx context.Context) ([]*DataPersistence, error)
- func (a *API) ListDatabaseModules(ctx context.Context) ([]*DatabaseModule, error)
- func (a *API) ListPaymentMethods(ctx context.Context) ([]*PaymentMethod, error)
- func (a *API) ListRegions(ctx context.Context) ([]*Region, error)
- type DataPersistence
- type DatabaseModule
- type HttpClient
- type PaymentMethod
- type Region
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewAPI ¶
func NewAPI(client HttpClient) *API
func (*API) ListDataPersistence ¶
func (a *API) ListDataPersistence(ctx context.Context) ([]*DataPersistence, error)
ListDataPersistence will return the list of available data persistence values.
func (*API) ListDatabaseModules ¶
func (a *API) ListDatabaseModules(ctx context.Context) ([]*DatabaseModule, error)
ListDatabaseModules will return the list of available data modules that can be applied to a database.
func (*API) ListPaymentMethods ¶
func (a *API) ListPaymentMethods(ctx context.Context) ([]*PaymentMethod, error)
ListPaymentMethods will return the list of available payment methods.
type DataPersistence ¶
type DataPersistence struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
func (DataPersistence) String ¶
func (o DataPersistence) String() string
type DatabaseModule ¶
type DatabaseModule struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
func (DatabaseModule) String ¶
func (o DatabaseModule) String() string
type HttpClient ¶
type PaymentMethod ¶
type PaymentMethod struct { ID *int `json:"id,omitempty"` Type *string `json:"type,omitempty"` CreditCardEndsWith *int `json:"creditCardEndsWith,omitempty"` ExpirationMonth *int `json:"expirationMonth"` ExpirationYear *int `json:"expirationYear"` }
func (PaymentMethod) String ¶
func (o PaymentMethod) String() string
Click to show internal directories.
Click to hide internal directories.