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.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- Constants
- func GetDomainApexContent(domainName string) bool
- func WriteGoogleApplicationCredentialsFile(googleApplicationCredentials, homeDir string) error
- type Configuration
- func (conf *Configuration) CreateBucket(bucketName string, keyFile []byte) (*storage.BucketAttrs, error)
- func (conf *Configuration) DeleteBucket(bucketName string, keyFile []byte) error
- func (conf *Configuration) GetContainerCluster(clusterName string) (*containerpb.Cluster, error)
- func (conf *Configuration) GetContainerClusterAuth(clusterName string, keyFile []byte) (*k8s.KubernetesClient, error)
- func (conf *Configuration) GetDNSDomains() ([]string, error)
- func (conf *Configuration) GetRegions() ([]string, error)
- func (conf *Configuration) GetZones() ([]string, error)
- func (conf *Configuration) ListBuckets(keyFile []byte) ([]*storage.BucketAttrs, error)
- func (conf *Configuration) ListContainerClusters() (*containerpb.ListClustersResponse, error)
- func (conf *Configuration) ListInstances(zone string) ([]string, error)
- func (conf *Configuration) TestHostedZoneLiveness(hostedZoneName string) bool
Constants ¶
const (
CloudProvider = "google"
)
Variables ¶
This section is empty.
Functions ¶
func GetDomainApexContent ¶
GetDomainApexContent determines whether or not a target domain features a host responding at zone apex
func WriteGoogleApplicationCredentialsFile ¶
WriteGoogleApplicationCredentialsFile writes credentials file for use throughout installation
Types ¶
type Configuration ¶ added in v0.106.0
Configuration stores session data to organize all google functions into a single struct
func (*Configuration) CreateBucket ¶ added in v0.106.0
func (conf *Configuration) CreateBucket(bucketName string, keyFile []byte) (*storage.BucketAttrs, error)
CreateBucket creates a GCS bucket
func (*Configuration) DeleteBucket ¶ added in v0.106.0
func (conf *Configuration) DeleteBucket(bucketName string, keyFile []byte) error
DeleteBucket deletes a GCS bucket
func (*Configuration) GetContainerCluster ¶ added in v0.106.0
func (conf *Configuration) GetContainerCluster(clusterName string) (*containerpb.Cluster, error)
GetContainerCluster
func (*Configuration) GetContainerClusterAuth ¶ added in v0.106.0
func (conf *Configuration) GetContainerClusterAuth(clusterName string, keyFile []byte) (*k8s.KubernetesClient, error)
GetContainerClusterAuth
func (*Configuration) GetDNSDomains ¶ added in v0.106.0
func (conf *Configuration) GetDNSDomains() ([]string, error)
func (*Configuration) GetRegions ¶ added in v0.106.0
func (conf *Configuration) GetRegions() ([]string, error)
GetRegions lists all available regions
func (*Configuration) GetZones ¶ added in v0.106.0
func (conf *Configuration) GetZones() ([]string, error)
func (*Configuration) ListBuckets ¶ added in v0.106.0
func (conf *Configuration) ListBuckets(keyFile []byte) ([]*storage.BucketAttrs, error)
ListBuckets lists all GCS buckets for a project
func (*Configuration) ListContainerClusters ¶ added in v0.106.0
func (conf *Configuration) ListContainerClusters() (*containerpb.ListClustersResponse, error)
ListContainerClusters
func (*Configuration) ListInstances ¶ added in v0.106.0
func (conf *Configuration) ListInstances(zone string) ([]string, error)
func (*Configuration) TestHostedZoneLiveness ¶ added in v0.106.0
func (conf *Configuration) TestHostedZoneLiveness(hostedZoneName string) bool
TestHostedZoneLiveness checks DNS for the liveness test record