fixture

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceId                   = "47c9dcbf-ff30-448e-ab36-d3bad66ba281"
	ServiceName                 = "kymaruntime"
	PlanId                      = "4deee563-e5ec-4731-b9b1-53b42d855f0c"
	TrialPlan                   = "7d55d31d-35ae-4438-bf13-6ffdfa107d9f"
	PlanName                    = "azure"
	GlobalAccountId             = "e8f7ec0a-0cd6-41f0-905d-5d1efa9fb6c4"
	SubscriptionGlobalAccountID = ""
	Region                      = "westeurope"
	ServiceManagerUsername      = "u"
	ServiceManagerPassword      = "p"
	ServiceManagerURL           = "https://service-manager.local"
	InstanceDashboardURL        = "https://dashboard.local"
	XSUAADataXSAppName          = "XSApp"
	KymaVersion                 = "1.19.0"
	MonitoringUsername          = "username"
	MonitoringPassword          = "password"
)

Variables

This section is empty.

Functions

func FixClusterSetup

func FixClusterSetup(runtimeID string) reconcilerApi.Cluster

func FixDNSProvidersConfig

func FixDNSProvidersConfig() gardener.DNSProvidersData

func FixDeprovisioningOperation

func FixDeprovisioningOperation(operationId, instanceId string) internal.DeprovisioningOperation

func FixDeprovisioningOperationAsOperation

func FixDeprovisioningOperationAsOperation(operationId, instanceId string) internal.Operation

func FixERSContext

func FixERSContext(id string) internal.ERSContext

func FixInstance

func FixInstance(id string) internal.Instance

func FixInstanceDetails

func FixInstanceDetails(id string) internal.InstanceDetails

func FixOIDCConfigDTO

func FixOIDCConfigDTO() internal.OIDCConfigDTO

func FixOperation

func FixOperation(id, instanceId string, opType internal.OperationType) internal.Operation

func FixOrchestration

func FixOrchestration(id string) internal.Orchestration

func FixProvisioningOperation

func FixProvisioningOperation(operationId, instanceId string) internal.Operation

func FixProvisioningOperationWithProvider

func FixProvisioningOperationWithProvider(operationId, instanceId string, provider internal.CloudProvider) internal.Operation

func FixProvisioningParameters

func FixProvisioningParameters(id string) internal.ProvisioningParameters

func FixProvisioningParametersDTO

func FixProvisioningParametersDTO() internal.ProvisioningParametersDTO

func FixRuntime

func FixRuntime(id string) orchestration.Runtime

func FixRuntimeOperation

func FixRuntimeOperation(operationId string) orchestration.RuntimeOperation

func FixRuntimeState

func FixRuntimeState(id, runtimeID, operationID string) internal.RuntimeState

func FixServiceManagerEntryDTO

func FixServiceManagerEntryDTO() *internal.ServiceManagerEntryDTO

func FixSuspensionOperationAsOperation

func FixSuspensionOperationAsOperation(operationId, instanceId string) internal.Operation

func FixUpdatingOperation

func FixUpdatingOperation(operationId, instanceId string) internal.UpdatingOperation

func FixUpgradeClusterOperation

func FixUpgradeClusterOperation(operationId, instanceId string) internal.UpgradeClusterOperation

func FixUpgradeKymaOperation

func FixUpgradeKymaOperation(operationId, instanceId string) internal.UpgradeKymaOperation

Types

type SimpleInputCreator

type SimpleInputCreator struct {
	Overrides         map[string][]*gqlschema.ConfigEntryInput
	Labels            map[string]string
	EnabledComponents []string
	ShootName         *string
	ShootDomain       string

	CloudProvider internal.CloudProvider
	RuntimeID     string
	Config        *internal.ConfigForPlan
	// contains filtered or unexported fields
}

func FixInputCreator

func FixInputCreator(provider internal.CloudProvider) *SimpleInputCreator

func (*SimpleInputCreator) AppendGlobalOverrides

func (c *SimpleInputCreator) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator

func (*SimpleInputCreator) AppendOverrides

func (c *SimpleInputCreator) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator

func (*SimpleInputCreator) Configuration

func (c *SimpleInputCreator) Configuration() *internal.ConfigForPlan

func (*SimpleInputCreator) CreateClusterConfiguration

func (c *SimpleInputCreator) CreateClusterConfiguration() (reconcilerApi.Cluster, error)

func (*SimpleInputCreator) CreateProvisionClusterInput

func (c *SimpleInputCreator) CreateProvisionClusterInput() (gqlschema.ProvisionRuntimeInput, error)

func (*SimpleInputCreator) CreateProvisionRuntimeInput

func (c *SimpleInputCreator) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)

func (*SimpleInputCreator) CreateUpgradeRuntimeInput

func (c *SimpleInputCreator) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)

func (*SimpleInputCreator) CreateUpgradeShootInput

func (c *SimpleInputCreator) CreateUpgradeShootInput() (gqlschema.UpgradeShootInput, error)

func (*SimpleInputCreator) DisableOptionalComponent

func (c *SimpleInputCreator) DisableOptionalComponent(name string) internal.ProvisionerInputCreator

func (*SimpleInputCreator) EnableOptionalComponent

func (c *SimpleInputCreator) EnableOptionalComponent(name string) internal.ProvisionerInputCreator

func (*SimpleInputCreator) Provider

func (*SimpleInputCreator) SetClusterName

func (*SimpleInputCreator) SetInstanceID

func (*SimpleInputCreator) SetKubeconfig

func (*SimpleInputCreator) SetLabel

func (*SimpleInputCreator) SetOIDCLastValues

func (*SimpleInputCreator) SetOverrides

func (c *SimpleInputCreator) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator

func (*SimpleInputCreator) SetProvisioningParameters

SimpleInputCreator implements ProvisionerInputCreator interface

func (*SimpleInputCreator) SetRuntimeID

func (c *SimpleInputCreator) SetRuntimeID(runtimeID string) internal.ProvisionerInputCreator

func (*SimpleInputCreator) SetShootDNSProviders

func (*SimpleInputCreator) SetShootDomain

func (*SimpleInputCreator) SetShootName

Jump to

Keyboard shortcuts

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