Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateDatabase(ctx context.Context, name, engine, version, size, region string) (*godo.Database, error)
- func (c *Client) CreateDomain(ctx context.Context, name string) (*godo.Domain, error)
- func (c *Client) CreateDomainRecord(ctx context.Context, domain, recordType, name, data string, priority int) (*godo.DomainRecord, error)
- func (c *Client) CreateDroplet(ctx context.Context, name, region, size, image string) (*godo.Droplet, error)
- func (c *Client) CreateKubernetesCluster(ctx context.Context, name, region, version string, numNodes int) (*godo.KubernetesCluster, error)
- func (c *Client) CreateVPC(ctx context.Context, name, region, ipRange string) (*godo.VPC, error)
- func (c *Client) DeleteDatabase(ctx context.Context, id string) error
- func (c *Client) DeleteDomain(ctx context.Context, name string) error
- func (c *Client) DeleteDomainRecord(ctx context.Context, domain string, recordID int) error
- func (c *Client) DeleteDroplet(ctx context.Context, id int) error
- func (c *Client) DeleteKubernetesCluster(ctx context.Context, id string) error
- func (c *Client) DeleteVPC(ctx context.Context, id string) error
- func (c *Client) GetBillingInfo(ctx context.Context) (*godo.Balance, error)
- func (c *Client) ListDatabases(ctx context.Context) ([]godo.Database, error)
- func (c *Client) ListDomainRecords(ctx context.Context, domain string) ([]godo.DomainRecord, error)
- func (c *Client) ListDomains(ctx context.Context) ([]godo.Domain, error)
- func (c *Client) ListDroplets(ctx context.Context) ([]godo.Droplet, error)
- func (c *Client) ListKubernetesClusters(ctx context.Context) ([]*godo.KubernetesCluster, error)
- func (c *Client) ListVPCs(ctx context.Context) ([]godo.VPC, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateDatabase ¶
func (*Client) CreateDomain ¶
func (*Client) CreateDomainRecord ¶
func (*Client) CreateDroplet ¶
func (*Client) CreateKubernetesCluster ¶
func (*Client) DeleteDatabase ¶
func (*Client) DeleteDomainRecord ¶
func (*Client) DeleteKubernetesCluster ¶
func (*Client) GetBillingInfo ¶
Change the GetBillingInfo function to use the correct method
func (*Client) ListDatabases ¶
Change the return type from []*godo.Database to []godo.Database
func (*Client) ListDomainRecords ¶
func (*Client) ListDomains ¶
func (*Client) ListDroplets ¶
func (*Client) ListKubernetesClusters ¶
Click to show internal directories.
Click to hide internal directories.