Versions in this module Expand all Collapse all v0 v0.0.1 Nov 8, 2023 Changes in this version + const AWSPlanID + const AWSPlanName + const AccountCleanupJob + const AllPlansSelector + const AzureLitePlanID + const AzureLitePlanName + const AzurePlanID + const AzurePlanName + const ControlsOrderKey + const FreemiumPlanID + const FreemiumPlanName + const GCPPlanID + const GCPPlanName + const KymaServiceID + const KymaServiceName + const OpenStackPlanID + const OpenStackPlanName + const OwnClusterPlanID + const OwnClusterPlanName + const PreviewPlanID + const PreviewPlanName + const PropertiesKey + const TrialPlanID + const TrialPlanName + var PlanIDsMapping = map[string]string + var PlanNamesMapping = map[string]string + func AWSRegions(euRestrictedAccess bool) []string + func AWSSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func AttachRoutes(router *mux.Router, serviceBroker domain.ServiceBroker, logger lager.Logger) *mux.Router + func AzureLiteSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func AzureRegions(euRestrictedAccess bool) []string + func AzureSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func DefaultControlsOrder() []string + func FreemiumSchema(provider internal.CloudProvider, additionalParams, update bool, ...) *map[string]interface + func GCPRegions() []string + func GCPSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func IsAzurePlan(planID string) bool + func IsFreemiumPlan(planID string) bool + func IsOwnClusterPlan(planID string) bool + func IsPreviewPlan(planID string) bool + func IsTrialPlan(planID string) bool + func Marshal(obj interface{}) []byte + func OpenStackRegions() []string + func OpenStackSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func OwnClusterSchema(update, modulesEnabled bool) *map[string]interface + func Plans(plans PlansConfig, provider internal.CloudProvider, ...) map[string]domain.ServicePlan + func PreviewSchema(machineTypesDisplay map[string]string, machineTypes []string, ...) *map[string]interface + func ResponseLabels(op internal.ProvisioningOperation, instance internal.Instance, ...) map[string]string + func ResponseLabelsWithExpirationInfo(op internal.ProvisioningOperation, instance internal.Instance, ...) map[string]string + func ToInterfaceSlice(input []string) []interface + func TrialSchema(additionalParams, update, modulesEnabled bool) *map[string]interface + type BTPdefaultTemplate struct + Elements []string + Separator string + type BindEndpoint struct + func NewBind(log logrus.FieldLogger) *BindEndpoint + func (b *BindEndpoint) Bind(ctx context.Context, instanceID, bindingID string, details domain.BindDetails, ...) (domain.Binding, error) + type Client struct + UserAgent string + func NewClient(ctx context.Context, config ClientConfig) *Client + func NewClientWithPoller(ctx context.Context, config ClientConfig, poller Poller) *Client + func (c *Client) Deprovision(instance internal.Instance) (string, error) + func (c *Client) GetInstanceRequest(instanceID string) (response *http.Response, err error) + func (c *Client) SendExpirationRequest(instance internal.Instance) (suspensionUnderWay bool, err error) + type ClientConfig struct + ClientID string + ClientSecret string + Scope string + TokenURL string + URL string + func NewClientConfig(URL string) *ClientConfig + type Config struct + AllowModulesParameters bool + AllowNetworkingParameters bool + EnableKubeconfigURLLabel bool + EnablePlans EnablePlans + ExposeSchemaWithRegionRequired bool + IncludeAdditionalParamsInSchema bool + OnlySingleTrialPerGA bool + RegionParameterIsRequired bool + ShowTrialExpirationInfo bool + SubaccountsIdsToShowTrialExpirationInfo string + TrialDocsURL string + URL string + type ContextUpdateHandler interface + Handle func(instance *internal.Instance, newCtx internal.ERSContext) (bool, error) + type DefaultPoller struct + PollInterval time.Duration + PollTimeout time.Duration + func (p *DefaultPoller) Invoke(logic func() (bool, error)) error + type DeprovisionEndpoint struct + func NewDeprovision(instancesStorage storage.Instances, operationsStorage storage.Operations, ...) *DeprovisionEndpoint + func (b *DeprovisionEndpoint) Deprovision(ctx context.Context, instanceID string, details domain.DeprovisionDetails, ...) (domain.DeprovisionServiceSpec, error) + type EnablePlans []string + func (m *EnablePlans) Unmarshal(in string) error + type GetBindingEndpoint struct + func NewGetBinding(log logrus.FieldLogger) *GetBindingEndpoint + func (b *GetBindingEndpoint) GetBinding(_ context.Context, instanceID, bindingID string, _ domain.FetchBindingDetails) (domain.GetBindingSpec, error) + type GetInstanceEndpoint struct + func NewGetInstance(cfg Config, instancesStorage storage.Instances, ...) *GetInstanceEndpoint + func (b *GetInstanceEndpoint) GetInstance(_ context.Context, instanceID string, _ domain.FetchInstanceDetails) (domain.GetInstanceDetailsSpec, error) + type JSONSchemaValidator interface + ValidateString func(json string) (jsonschema.ValidationResult, error) + type KymaEnvironmentBroker struct + type LastBindingOperationEndpoint struct + func NewLastBindingOperation(log logrus.FieldLogger) *LastBindingOperationEndpoint + func (b *LastBindingOperationEndpoint) LastBindingOperation(ctx context.Context, instanceID, bindingID string, details domain.PollDetails) (domain.LastOperation, error) + type LastOperationEndpoint struct + func NewLastOperation(os storage.Operations, log logrus.FieldLogger) *LastOperationEndpoint + func (b *LastOperationEndpoint) LastOperation(ctx context.Context, instanceID string, details domain.PollDetails) (domain.LastOperation, error) + type Modules struct + ControlsOrder []string + OneOf []interface{} + func NewModulesSchema(modulesEnabled bool) *Modules + type ModulesCustom struct + Properties ModulesCustomProperties + type ModulesCustomList struct + Items ModulesCustomListItems + type ModulesCustomListItems struct + ControlsOrder []string + Properties ModulesCustomListItemsProperties + type ModulesCustomListItemsProperties struct + Channel Type + CustomResourcePolicy Type + Name Type + type ModulesCustomProperties struct + List ModulesCustomList + type ModulesDefault struct + Properties ModulesDefaultProperties + type ModulesDefaultProperties struct + Default Type + type NameType struct + BTPdefaultTemplate BTPdefaultTemplate + func NameProperty() NameType + type NetworkingProperties struct + Nodes Type + type NetworkingType struct + Properties NetworkingProperties + Required []string + func NewNetworkingSchema() *NetworkingType + type OIDCProperties struct + ClientID Type + GroupsClaim Type + IssuerURL Type + SigningAlgs Type + UsernameClaim Type + UsernamePrefix Type + type OIDCType struct + Properties OIDCProperties + Required []string + func NewOIDCSchema() *OIDCType + type PassthroughPoller struct + func (p *PassthroughPoller) Invoke(logic func() (bool, error)) error + type PlanData struct + Description string + Metadata PlanMetadata + type PlanDefaults func(planID string, platformProvider internal.CloudProvider, ...) (*gqlschema.ClusterConfigInput, error) + type PlanMetadata struct + DisplayName string + type PlanValidator interface + IsPlanSupport func(planID string) bool + type PlansConfig map[string]PlanData + type Poller interface + Invoke func(logic func() (bool, error)) error + func NewDefaultPoller() Poller + func NewPassthroughPoller() Poller + type ProvisionEndpoint struct + func NewProvision(cfg Config, gardenerConfig gardener.Config, ...) *ProvisionEndpoint + func (b *ProvisionEndpoint) Provision(ctx context.Context, instanceID string, details domain.ProvisionDetails, ...) (domain.ProvisionedServiceSpec, error) + type ProvisioningProperties struct + Modules *Modules + Name NameType + Networking *NetworkingType + Region *Type + ShootDomain *Type + ShootName *Type + func NewProvisioningProperties(machineTypesDisplay map[string]string, machineTypes, regions []string, ...) ProvisioningProperties + type Queue interface + Add func(operationId string) + type RootSchema struct + ControlsOrder []string + Properties interface{} + Required []string + Schema string + ShowFormView bool + func NewSchema(properties interface{}, update bool, required []string) *RootSchema + type Service struct + Description string + Metadata ServiceMetadata + Plans PlansConfig + type ServiceMetadata struct + DisplayName string + DocumentationUrl string + ImageUrl string + LongDescription string + ProviderDisplayName string + SupportUrl string + type ServicesConfig map[string]Service + func NewServicesConfigFromFile(path string) (ServicesConfig, error) + func (s ServicesConfig) DefaultPlansConfig() (PlansConfig, error) + type ServicesEndpoint struct + func NewServices(cfg Config, servicesConfig ServicesConfig, log logrus.FieldLogger) *ServicesEndpoint + func (b *ServicesEndpoint) Services(ctx context.Context) ([]domain.Service, error) + type TrialCloudRegion string + const Asia + const Europe + const Us + type Type struct + AdditionalItems interface{} + AdditionalProperties interface{} + Default interface{} + Description string + Enum []interface{} + EnumDisplayName map[string]string + Example interface{} + Items *Type + MaxLength int + Maximum int + MinLength int + Minimum int + Pattern string + ReadOnly interface{} + Title string + Type string + UniqueItems interface{} + func AdministratorsProperty() *Type + func KubeconfigProperty() *Type + func ShootDomainProperty() *Type + func ShootNameProperty() *Type + type UnbindEndpoint struct + func NewUnbind(log logrus.FieldLogger) *UnbindEndpoint + func (b *UnbindEndpoint) Unbind(ctx context.Context, instanceID, bindingID string, ...) (domain.UnbindSpec, error) + type UpdateEndpoint struct + func NewUpdate(cfg Config, instanceStorage storage.Instances, ...) *UpdateEndpoint + func (b *UpdateEndpoint) Update(_ context.Context, instanceID string, details domain.UpdateDetails, ...) (domain.UpdateServiceSpec, error) + type UpdateProperties struct + Administrators *Type + AutoScalerMax *Type + AutoScalerMin *Type + Kubeconfig *Type + MachineType *Type + OIDC *OIDCType + func (up *UpdateProperties) IncludeAdditional()