Documentation ¶
Index ¶
- type AvsLifecycleData
- type ComponentConfigurationInputList
- type DeprovisioningOperation
- type ERSContext
- type EventHub
- type Instance
- type InstanceWithOperation
- type LMS
- type LMSTenant
- type Operation
- type ProvisionInputCreator
- type ProvisioningOperation
- type ProvisioningParameters
- type ProvisioningParametersDTO
- type ServiceManagerBasicAuth
- type ServiceManagerCredentials
- type ServiceManagerEntryDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvsLifecycleData ¶
type AvsLifecycleData struct { AvsEvaluationInternalId int64 `json:"avs_evaluation_internal_id"` AVSEvaluationExternalId int64 `json:"avs_evaluation_external_id"` AVSInternalEvaluationDeleted bool `json:"avs_internal_evaluation_deleted"` AVSExternalEvaluationDeleted bool `json:"avs_external_evaluation_deleted"` }
type ComponentConfigurationInputList ¶
type ComponentConfigurationInputList []*gqlschema.ComponentConfigurationInput
func (ComponentConfigurationInputList) DeepCopy ¶
func (l ComponentConfigurationInputList) DeepCopy() []*gqlschema.ComponentConfigurationInput
type DeprovisioningOperation ¶
type DeprovisioningOperation struct { Operation `json:"-"` ProvisioningParameters string `json:"provisioning_parameters"` Avs AvsLifecycleData `json:"avs"` EventHub EventHub `json:"eh"` SubAccountID string `json:"-"` }
DeprovisioningOperation holds all information about de-provisioning operation
func NewDeprovisioningOperationWithID ¶
func NewDeprovisioningOperationWithID(operationID, instanceID string) (DeprovisioningOperation, error)
NewProvisioningOperationWithID creates a fresh (just starting) instance of the ProvisioningOperation with provided ID
func (*DeprovisioningOperation) GetProvisioningParameters ¶
func (do *DeprovisioningOperation) GetProvisioningParameters() (ProvisioningParameters, error)
func (*DeprovisioningOperation) SetProvisioningParameters ¶
func (do *DeprovisioningOperation) SetProvisioningParameters(parameters ProvisioningParameters) error
type ERSContext ¶
type ERSContext struct { TenantID string `json:"tenant_id"` SubAccountID string `json:"subaccount_id"` GlobalAccountID string `json:"globalaccount_id"` ServiceManager *ServiceManagerEntryDTO `json:"sm_platform_credentials,omitempty"` }
type Instance ¶
type Instance struct { InstanceID string RuntimeID string GlobalAccountID string SubAccountID string ServiceID string ServiceName string ServicePlanID string ServicePlanName string DashboardURL string ProvisioningParameters string CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time }
func (Instance) GetProvisioningParameters ¶
func (instance Instance) GetProvisioningParameters() (ProvisioningParameters, error)
type InstanceWithOperation ¶
type InstanceWithOperation struct { Instance Type sql.NullString State sql.NullString Description sql.NullString }
type ProvisionInputCreator ¶
type ProvisionInputCreator interface { SetProvisioningParameters(params ProvisioningParametersDTO) ProvisionInputCreator SetLabel(key, value string) ProvisionInputCreator // Deprecated, use: AppendOverrides SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) ProvisionInputCreator AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) ProvisionInputCreator AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) ProvisionInputCreator Create() (gqlschema.ProvisionRuntimeInput, error) }
type ProvisioningOperation ¶
type ProvisioningOperation struct { Operation `json:"-"` // following fields are serialized to JSON and stored in the storage Lms LMS `json:"lms"` ProvisioningParameters string `json:"provisioning_parameters"` // following fields are not stored in the storage InputCreator ProvisionInputCreator `json:"-"` Avs AvsLifecycleData `json:"avs"` }
ProvisioningOperation holds all information about provisioning operation
func NewProvisioningOperation ¶
func NewProvisioningOperation(instanceID string, parameters ProvisioningParameters) (ProvisioningOperation, error)
NewProvisioningOperation creates a fresh (just starting) instance of the ProvisioningOperation
func NewProvisioningOperationWithID ¶
func NewProvisioningOperationWithID(operationID, instanceID string, parameters ProvisioningParameters) (ProvisioningOperation, error)
NewProvisioningOperationWithID creates a fresh (just starting) instance of the ProvisioningOperation with provided ID
func (*ProvisioningOperation) GetProvisioningParameters ¶
func (po *ProvisioningOperation) GetProvisioningParameters() (ProvisioningParameters, error)
func (*ProvisioningOperation) SetProvisioningParameters ¶
func (po *ProvisioningOperation) SetProvisioningParameters(parameters ProvisioningParameters) error
type ProvisioningParameters ¶
type ProvisioningParameters struct { PlanID string `json:"plan_id"` ServiceID string `json:"service_id"` ErsContext ERSContext `json:"ers_context"` Parameters ProvisioningParametersDTO `json:"parameters"` // PlatformRegion defines the Platform region send in the request path, terminology: // - `Platform` is a place where KEB is registered and which later sends request to KEB. // - `Region` value is use e.g. for billing integration such as EDP. PlatformRegion string `json:"platform_region"` }
func (ProvisioningParameters) IsEqual ¶
func (p ProvisioningParameters) IsEqual(input ProvisioningParameters) bool
type ProvisioningParametersDTO ¶
type ProvisioningParametersDTO struct { Name string `json:"name"` TargetSecret *string `json:"targetSecret"` VolumeSizeGb *int `json:"volumeSizeGb"` MachineType *string `json:"machineType"` Region *string `json:"region"` Zone *string `json:"zone"` AutoScalerMin *int `json:"autoScalerMin"` AutoScalerMax *int `json:"autoScalerMax"` MaxSurge *int `json:"maxSurge"` OptionalComponentsToInstall []string `json:"components"` KymaVersion string `json:"kymaVersion"` }
type ServiceManagerBasicAuth ¶
type ServiceManagerCredentials ¶
type ServiceManagerCredentials struct {
BasicAuth ServiceManagerBasicAuth `json:"basic"`
}
type ServiceManagerEntryDTO ¶
type ServiceManagerEntryDTO struct { Credentials ServiceManagerCredentials `json:"credentials"` URL string `json:"url"` }
Directories ¶
Path | Synopsis |
---|---|
Package appinfo is responsible for defining REST endpoints which are serving overall information about created and managed resources e.g.
|
Package appinfo is responsible for defining REST endpoints which are serving overall information about created and managed resources e.g. |
Currently added in this package to be able to access plans schemas.
|
Currently added in this package to be able to access plans schemas. |
This package provides a syntactic sugar and helper functions to make http things easier to read or to express
|
This package provides a syntactic sugar and helper functions to make http things easier to read or to express |
automock
Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 |
Package copied from https://github.com/kyma-project/kyma/blob/1.11.0/components/service-binding-usage-controller/internal/platform/logger/spy/logger.go Only Reset() method was added.
|
Package copied from https://github.com/kyma-project/kyma/blob/1.11.0/components/service-binding-usage-controller/internal/platform/logger/spy/logger.go Only Reset() method was added. |
This package is NOT FOR PRODUCTION USE CASE.
|
This package is NOT FOR PRODUCTION USE CASE. |
Click to show internal directories.
Click to hide internal directories.