Documentation ¶
Index ¶
- func ParseCategoryFromSlug(slug string) string
- func ParseRegion(region *godo.Region) *data.Region
- func ParseSizes(size *godo.Size) (*data.InstanceType, error)
- type Client
- func (g *Client) GetCredentials() []data.CredentialFormat
- func (g *Client) GetEnvs() []string
- func (g *Client) GetInstanceTypes() ([]data.InstanceType, error)
- func (g *Client) GetKubernets() []data.Kubernetes
- func (g *Client) GetName() string
- func (g *Client) GetRegions() ([]data.Region, error)
- func (g *Client) GetZones() ([]string, error)
- type DigitalOceanData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCategoryFromSlug ¶
func ParseSizes ¶
func ParseSizes(size *godo.Size) (*data.InstanceType, error)
Types ¶
type Client ¶
type Client struct { Data *DigitalOceanData Client *godo.Client Ctx context.Context }
func (*Client) GetCredentials ¶
func (g *Client) GetCredentials() []data.CredentialFormat
func (*Client) GetInstanceTypes ¶
func (g *Client) GetInstanceTypes() ([]data.InstanceType, error)
func (*Client) GetKubernets ¶
func (g *Client) GetKubernets() []data.Kubernetes
type DigitalOceanData ¶
Click to show internal directories.
Click to hide internal directories.