provider

package
v0.0.0-...-f7d1ac2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAWSRegion         = "eu-central-1"
	DefaultAWSTrialRegion    = "eu-west-1"
	DefaultEuAccessAWSRegion = "eu-central-1"
	DefaultAWSMultiZoneCount = 3
)
View Source
const (
	DefaultAzureRegion         = "eastus"
	DefaultEuAccessAzureRegion = "switzerlandnorth"
	DefaultAzureMultiZoneCount = 3
)
View Source
const (
	DefaultGCPRegion         = "europe-west3"
	DefaultGCPMachineType    = "n2-standard-4"
	DefaultGCPMultiZoneCount = 3
)
View Source
const (
	DefaultOpenStackRegion = "eu-de-2"
	DefaultExposureClass   = "converged-cloud-internet"
)

Variables

This section is empty.

Functions

func MultipleZonesForAWSRegion

func MultipleZonesForAWSRegion(region string, zonesCount int) []string

func ReadPlatformRegionMappingFromFile

func ReadPlatformRegionMappingFromFile(filename string) (map[string]string, error)

func ZoneForAWSRegion

func ZoneForAWSRegion(region string) string

func ZonesForGCPRegion

func ZonesForGCPRegion(region string, zonesCount int) []string

func ZonesForOpenStack

func ZonesForOpenStack(region string) []string

Types

type AWSFreemiumInput

type AWSFreemiumInput struct{}

func (*AWSFreemiumInput) ApplyParameters

func (*AWSFreemiumInput) Defaults

func (*AWSFreemiumInput) Profile

func (p *AWSFreemiumInput) Profile() gqlschema.KymaProfile

func (*AWSFreemiumInput) Provider

func (p *AWSFreemiumInput) Provider() internal.CloudProvider

type AWSInput

type AWSInput struct {
	MultiZone                    bool
	ControlPlaneFailureTolerance string
}

func (*AWSInput) ApplyParameters

func (p *AWSInput) ApplyParameters(input *gqlschema.ClusterConfigInput, pp internal.ProvisioningParameters)

func (*AWSInput) Defaults

func (p *AWSInput) Defaults() *gqlschema.ClusterConfigInput

func (*AWSInput) Profile

func (p *AWSInput) Profile() gqlschema.KymaProfile

func (*AWSInput) Provider

func (p *AWSInput) Provider() internal.CloudProvider

type AWSTrialInput

type AWSTrialInput struct {
	PlatformRegionMapping map[string]string
}

func (*AWSTrialInput) ApplyParameters

func (*AWSTrialInput) Defaults

func (*AWSTrialInput) Profile

func (p *AWSTrialInput) Profile() gqlschema.KymaProfile

func (*AWSTrialInput) Provider

func (p *AWSTrialInput) Provider() internal.CloudProvider

type AzureFreemiumInput

type AzureFreemiumInput struct{}

func (*AzureFreemiumInput) ApplyParameters

func (*AzureFreemiumInput) Defaults

func (*AzureFreemiumInput) Profile

func (*AzureFreemiumInput) Provider

type AzureInput

type AzureInput struct {
	MultiZone                    bool
	ControlPlaneFailureTolerance string
}

func (*AzureInput) ApplyParameters

func (*AzureInput) Defaults

func (p *AzureInput) Defaults() *gqlschema.ClusterConfigInput

func (*AzureInput) Profile

func (p *AzureInput) Profile() gqlschema.KymaProfile

func (*AzureInput) Provider

func (p *AzureInput) Provider() internal.CloudProvider

type AzureLiteInput

type AzureLiteInput struct{}

func (*AzureLiteInput) ApplyParameters

func (*AzureLiteInput) Defaults

func (*AzureLiteInput) Profile

func (p *AzureLiteInput) Profile() gqlschema.KymaProfile

func (*AzureLiteInput) Provider

func (p *AzureLiteInput) Provider() internal.CloudProvider

type AzureTrialInput

type AzureTrialInput struct {
	PlatformRegionMapping map[string]string
}

func (*AzureTrialInput) ApplyParameters

func (*AzureTrialInput) Defaults

func (*AzureTrialInput) Profile

func (p *AzureTrialInput) Profile() gqlschema.KymaProfile

func (*AzureTrialInput) Provider

func (p *AzureTrialInput) Provider() internal.CloudProvider

type GcpInput

type GcpInput struct {
	MultiZone                    bool
	ControlPlaneFailureTolerance string
}

func (*GcpInput) ApplyParameters

func (p *GcpInput) ApplyParameters(input *gqlschema.ClusterConfigInput, pp internal.ProvisioningParameters)

func (*GcpInput) Defaults

func (p *GcpInput) Defaults() *gqlschema.ClusterConfigInput

func (*GcpInput) Profile

func (p *GcpInput) Profile() gqlschema.KymaProfile

func (*GcpInput) Provider

func (p *GcpInput) Provider() internal.CloudProvider

type GcpTrialInput

type GcpTrialInput struct {
	PlatformRegionMapping map[string]string
}

func (*GcpTrialInput) ApplyParameters

func (*GcpTrialInput) Defaults

func (*GcpTrialInput) Profile

func (p *GcpTrialInput) Profile() gqlschema.KymaProfile

func (*GcpTrialInput) Provider

func (p *GcpTrialInput) Provider() internal.CloudProvider

type NoHyperscalerInput

type NoHyperscalerInput struct {
}

func (*NoHyperscalerInput) ApplyParameters

func (*NoHyperscalerInput) Defaults

func (*NoHyperscalerInput) Profile

func (*NoHyperscalerInput) Provider

type OpenStackInput

type OpenStackInput struct {
	FloatingPoolName string
}

func (*OpenStackInput) ApplyParameters

func (*OpenStackInput) Defaults

func (*OpenStackInput) Profile

func (p *OpenStackInput) Profile() gqlschema.KymaProfile

func (*OpenStackInput) Provider

func (p *OpenStackInput) Provider() internal.CloudProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL