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 ¶
Configuration stores session data to organize all google functions into a single struct
func (*Configuration) CreateBucket ¶
func (conf *Configuration) CreateBucket(bucketName string, keyFile []byte) (*storage.BucketAttrs, error)
CreateBucket creates a GCS bucket
func (*Configuration) DeleteBucket ¶
func (conf *Configuration) DeleteBucket(bucketName string, keyFile []byte) error
DeleteBucket deletes a GCS bucket
func (*Configuration) GetContainerCluster ¶
func (conf *Configuration) GetContainerCluster(clusterName string) (*containerpb.Cluster, error)
GetContainerCluster
func (*Configuration) GetContainerClusterAuth ¶
func (conf *Configuration) GetContainerClusterAuth(clusterName string, keyFile []byte) (*k8s.KubernetesClient, error)
GetContainerClusterAuth
func (*Configuration) GetDNSDomains ¶
func (conf *Configuration) GetDNSDomains() ([]string, error)
func (*Configuration) GetRegions ¶
func (conf *Configuration) GetRegions() ([]string, error)
GetRegions lists all available regions
func (*Configuration) GetZones ¶
func (conf *Configuration) GetZones() ([]string, error)
func (*Configuration) ListBuckets ¶
func (conf *Configuration) ListBuckets(keyFile []byte) ([]*storage.BucketAttrs, error)
ListBuckets lists all GCS buckets for a project
func (*Configuration) ListContainerClusters ¶
func (conf *Configuration) ListContainerClusters() (*containerpb.ListClustersResponse, error)
ListContainerClusters
func (*Configuration) ListInstances ¶
func (conf *Configuration) ListInstances(zone string) ([]string, error)
func (*Configuration) TestHostedZoneLiveness ¶
func (conf *Configuration) TestHostedZoneLiveness(hostedZoneName string) bool
TestHostedZoneLiveness checks DNS for the liveness test record