fixture

package
v0.0.0-...-34ee2f8 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func FixDeprovisioningOperation

func FixDeprovisioningOperation(operationId, instanceId string) internal.DeprovisioningOperation

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 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.ProvisioningOperation

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 FixServiceManagerEntryDTO

func FixServiceManagerEntryDTO() *internal.ServiceManagerEntryDTO

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
}

func FixInputCreator

func FixInputCreator() *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) 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) EnableOptionalComponent

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

func (*SimpleInputCreator) SetLabel

func (*SimpleInputCreator) SetOverrides

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

func (*SimpleInputCreator) SetProvisioningParameters

SimpleInputCreator implements ProvisionerInputCreator interface

func (*SimpleInputCreator) SetShootName

Jump to

Keyboard shortcuts

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