Versions in this module Expand all Collapse all v0 v0.4.2 Dec 21, 2023 Changes in this version + const ConfigMapNameClustersUsageCache + const GitlabWebhookIndexEventType + const GitlabWebhookIndexRef + var ComponentFactoryMapPipeline = map[string]component.PipelineFactory + var NewFunctionMapDeployment = map[string]component.NewDeployment + var NewFunctionMapEventListener = map[string]component.NewEventListener + var NewFunctionMapGateway = map[string]component.NewGateway + var NewFunctionMapMultiTenant = map[string]component.NewMultiTenant + var NewFunctionMapSecretManagement = map[string]component.NewSecretManagement + var NewFunctionMapSecretSync = map[string]component.NewSecretSync + var NewSearchEngine = requestvar.NewSearchEngine + var NewSnapshot = database.NewRuntimeSnapshot + func AccountIsRemovable(usage cache.AccountUsage, accountName, runtimeName string) bool + func CreateProduct(ctx context.Context, productID, productName string, ...) error + func DeleteProduct(ctx context.Context, productID, productName string, ...) error + func DeleteProductAccount(ctx context.Context, account component.MachineAccount, ...) error + func GetEventSourceFromEventSourceSet(esSet component.EventSourceSet, name string) (*component.EventSource, error) + func GetRawStatus(componentType component.ComponentType, ...) []byte + type ComponentsStatus struct + func NewComponentStatus() *ComponentsStatus + type DeploymentRuntimeDeployer struct + func (drd *DeploymentRuntimeDeployer) Delete(ctx context.Context) (interface{}, error) + func (drd *DeploymentRuntimeDeployer) Deploy(ctx context.Context) (interface{}, error) + func (drd *DeploymentRuntimeDeployer) GetPermissionsFromRuntime() []component.SecretInfo + type DeploymentRuntimeSyncHistory struct + Account *component.MachineAccount + Cluster string + Permissions []component.SecretInfo + Spaces utils.StringSet + type NewHandler func(info *component.ComponentInitInfo) (ResourceRequestHandler, error) + var NewFunctionHandler NewHandler + type NewTaskPerformer func(initInfo performerInitInfos) (taskPerformer, error) + type PipelineRuntimeDeployer struct + func (prd *PipelineRuntimeDeployer) Delete(ctx context.Context) (interface{}, error) + func (prd *PipelineRuntimeDeployer) Deploy(ctx context.Context) (interface{}, error) + func (prd *PipelineRuntimeDeployer) GetPermissionsFromRuntime() []component.SecretInfo + type PipelineRuntimeSyncHistory struct + Account *component.MachineAccount + App *component.Application + Cluster string + CodeRepo string + HookResources []component.RequestResource + Permissions []component.SecretInfo + Space *component.Space + UniqueID string + type ResourceRequestHandler interface + CreateResource func(ctx context.Context, space component.Space, authInfo component.AuthInfo, ...) error + DeleteResource func(ctx context.Context, space component.Space, req component.RequestResource) error + type Syncer struct + KubernetesClient client.Client + PluginMgr component.PipelinePluginManager + func (s *Syncer) NewTask(ctx context.Context, runtime v1alpha1.Runtime, ...) (*Task, error) + type Task struct + func (t *Task) CleanUp() + func (t *Task) Delete(ctx context.Context) (*pkgruntime.RawExtension, error) + func (t *Task) Run(ctx context.Context) (*pkgruntime.RawExtension, error) + func (t *Task) UpdateComponentCache() + type UsageController struct + func (cuc *UsageController) GetProductUsage(ctx context.Context, productID string) (*cache.ProductUsage, error) + func (cuc *UsageController) GetUsage(ctx context.Context) (*cache.ClusterUsage, error) + func (cuc *UsageController) UpdateProductUsage(ctx context.Context, productID string, usage cache.ProductUsage) error