Versions in this module Expand all Collapse all v1 v1.2.5 Sep 23, 2024 Changes in this version + const GcpMaxClusterNameLen + func NewPlatform() platform.Platform + type GCPFlavor struct + GuestCPUs int + MaximumPersistentDisksSizeGb string + MemoryMb int + Name string + type GCPPlatform struct + func (a *GCPPlatform) CreateClusterPrerequisites(ctx context.Context, clusterName string) error + func (g *GCPPlatform) GatherCloudletInfo(ctx context.Context, info *edgeproto.CloudletInfo) error + func (g *GCPPlatform) GetCloudletInfraResourcesInfo(ctx context.Context) ([]edgeproto.InfraResource, error) + func (g *GCPPlatform) GetClusterAdditionalResourceMetric(ctx context.Context, cloudlet *edgeproto.Cloudlet, resMetric *edgeproto.Metric, ...) error + func (g *GCPPlatform) GetClusterAdditionalResources(ctx context.Context, cloudlet *edgeproto.Cloudlet, ...) map[string]edgeproto.InfraResource + func (g *GCPPlatform) GetCredentials(ctx context.Context, clusterName string) error + func (g *GCPPlatform) GetGcpProject() string + func (g *GCPPlatform) GetGcpRegionFromZone(zone string) (string, error) + func (g *GCPPlatform) GetGcpZone() string + func (g *GCPPlatform) GetRootLBClients(ctx context.Context) (map[string]platform.RootLBClient, error) + func (g *GCPPlatform) Login(ctx context.Context) error + func (g *GCPPlatform) NameSanitize(clusterName string) string + func (g *GCPPlatform) RunClusterCreateCommand(ctx context.Context, clusterName string, numNodes uint32, flavor string) error + func (g *GCPPlatform) RunClusterDeleteCommand(ctx context.Context, clusterName string) error + func (g *GCPPlatform) SetProject(ctx context.Context, project string) error + func (g *GCPPlatform) SetProperties(props *infracommon.InfraProperties) error + func (g *GCPPlatform) SetZone(ctx context.Context, zone string) error + func (m *GCPPlatform) InitApiAccessProperties(ctx context.Context, accessApi platform.AccessApi, vars map[string]string) error + func (o *GCPPlatform) GetFeatures() *edgeproto.PlatformFeatures + type GCPQuotas struct + Limit float64 + Metric string + type GCPQuotasList struct + Quotas GCPQuotas