Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- Constants
- func DownloadTools(...) error
- func GetDomainApexContent(domainName string) bool
- func NewCivo(civoToken string, region string) *civogo.Client
- type CivoConfiguration
- func (c *CivoConfiguration) CreateStorageBucket(accessKeyId string, bucketName string, region string) (civogo.ObjectStore, error)
- func (c *CivoConfiguration) DeleteAccessCredentials(credentialName string, region string) error
- func (c *CivoConfiguration) DeleteStorageBucket(bucketName string) error
- func (c *CivoConfiguration) GetAccessCredentials(credentialName string, region string) (civogo.ObjectStoreCredential, error)
- func (c *CivoConfiguration) GetDNSDomains(region string) ([]string, error)
- func (c *CivoConfiguration) GetDNSInfo(domainName string, region string) (string, error)
- func (c *CivoConfiguration) GetRegions(region string) ([]string, error)
- func (c *CivoConfiguration) ListInstanceSizes() ([]string, error)
- func (c *CivoConfiguration) TestDomainLiveness(domainName string, domainId string, region string) bool
Constants ¶
const (
CloudProvider = "civo"
)
Variables ¶
This section is empty.
Functions ¶
func DownloadTools ¶
func GetDomainApexContent ¶
GetDomainApexContent determines whether or not a target domain features a host responding at zone apex
Types ¶
type CivoConfiguration ¶ added in v0.1.28
func (*CivoConfiguration) CreateStorageBucket ¶ added in v0.1.28
func (c *CivoConfiguration) CreateStorageBucket(accessKeyId string, bucketName string, region string) (civogo.ObjectStore, error)
CreateStorageBucket creates an object storage bucket
func (*CivoConfiguration) DeleteAccessCredentials ¶ added in v0.1.28
func (c *CivoConfiguration) DeleteAccessCredentials(credentialName string, region string) error
DeleteAccessCredentials deletes object store credentials
func (*CivoConfiguration) DeleteStorageBucket ¶ added in v0.1.28
func (c *CivoConfiguration) DeleteStorageBucket(bucketName string) error
DeleteStorageBucket deletes an object storage bucket
func (*CivoConfiguration) GetAccessCredentials ¶ added in v0.1.28
func (c *CivoConfiguration) GetAccessCredentials(credentialName string, region string) (civogo.ObjectStoreCredential, error)
GetAccessCredentials creates object store access credentials if they do not exist and returns them if they do
func (*CivoConfiguration) GetDNSDomains ¶ added in v0.1.28
func (c *CivoConfiguration) GetDNSDomains(region string) ([]string, error)
GetDNSDomains lists all available DNS domains
func (*CivoConfiguration) GetDNSInfo ¶ added in v0.1.28
func (c *CivoConfiguration) GetDNSInfo(domainName string, region string) (string, error)
GetDNSInfo try to reach the provided domain
func (*CivoConfiguration) GetRegions ¶ added in v0.1.30
func (c *CivoConfiguration) GetRegions(region string) ([]string, error)
GetRegions lists all available regions
func (*CivoConfiguration) ListInstanceSizes ¶ added in v0.3.25
func (c *CivoConfiguration) ListInstanceSizes() ([]string, error)
func (*CivoConfiguration) TestDomainLiveness ¶ added in v0.1.28
func (c *CivoConfiguration) TestDomainLiveness(domainName string, domainId string, region string) bool
TestDomainLiveness checks Civo DNS for the liveness test record