Documentation ¶
Index ¶
- Constants
- Variables
- type ActiveDocReconciler
- type ActiveDocStatusReconciler
- type ActiveDocThreescaleReconciler
- type ApplicationReconciler
- type ApplicationStatusReconciler
- type ApplicationThreescaleReconciler
- type BackendReconciler
- type BackendStatusReconciler
- type BackendThreescaleReconciler
- type CustomPolicyDefinitionReconciler
- type CustomPolicyDefinitionStatusReconciler
- type CustomPolicyDefinitionThreescaleReconciler
- type DeveloperAccountReconciler
- type DeveloperAccountStatusReconciler
- type DeveloperAccountThreescaleReconciler
- type DeveloperUserReconciler
- type DeveloperUserStatusReconciler
- type DeveloperUserThreescaleReconciler
- type OpenAPIBackendReconciler
- type OpenAPIProductReconciler
- type OpenAPIReconciler
- type OpenAPIStatusReconciler
- type ProductReconciler
- type ProductStatusReconciler
- type ProductThreescaleReconciler
- type ProxyConfigPromoteReconciler
- type ProxyConfigPromoteStatusReconciler
- type TenantInternalReconciler
- type TenantReconciler
Constants ¶
const TenantAccessTokenSecretField = "token"
Tenant's credentials secret field name for access token
const TenantAdminDomainKeySecretField = "adminURL"
Tenant's credentials secret field name for admin domain url
const TenantAdminPasswordSecretField = "admin_password"
Secret field name with Tenant's admin user password
Variables ¶
var ( // LastSlashRegexp matches the last slash LastSlashRegexp = regexp.MustCompile(`/$`) )
Functions ¶
This section is empty.
Types ¶
type ActiveDocReconciler ¶
type ActiveDocReconciler struct {
*reconcilers.BaseReconciler
}
ActiveDocReconciler reconciles a ActiveDoc object
func (*ActiveDocReconciler) SetupWithManager ¶
func (r *ActiveDocReconciler) SetupWithManager(mgr ctrl.Manager) error
type ActiveDocStatusReconciler ¶
type ActiveDocStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewActiveDocStatusReconciler ¶
func NewActiveDocStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.ActiveDoc, providerAccountHost string, activeDoc *threescaleapi.ActiveDoc, reconcileError error) *ActiveDocStatusReconciler
type ActiveDocThreescaleReconciler ¶
type ActiveDocThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewActiveDocThreescaleReconciler ¶
func NewActiveDocThreescaleReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.ActiveDoc, threescaleAPIClient *threescaleapi.ThreeScaleClient, providerAccountHost string, logger logr.Logger) *ActiveDocThreescaleReconciler
func (*ActiveDocThreescaleReconciler) Reconcile ¶
func (s *ActiveDocThreescaleReconciler) Reconcile() (*threescaleapi.ActiveDoc, error)
type ApplicationReconciler ¶ added in v0.11.0
type ApplicationReconciler struct {
*reconcilers.BaseReconciler
}
ApplicationReconciler reconciles a Application object
func (*ApplicationReconciler) SetupWithManager ¶ added in v0.11.0
func (r *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
type ApplicationStatusReconciler ¶ added in v0.11.0
type ApplicationStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewApplicationStatusReconciler ¶ added in v0.11.0
func NewApplicationStatusReconciler(b *reconcilers.BaseReconciler, applicationResource *capabilitiesv1beta1.Application, entity *controllerhelper.ApplicationEntity, providerAccountHost string, syncError error) *ApplicationStatusReconciler
func (*ApplicationStatusReconciler) ReadyCondition ¶ added in v0.11.0
func (s *ApplicationStatusReconciler) ReadyCondition() common.Condition
type ApplicationThreescaleReconciler ¶ added in v0.11.0
type ApplicationThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewApplicationReconciler ¶ added in v0.11.0
func NewApplicationReconciler(b *reconcilers.BaseReconciler, applicationResource *capabilitiesv1beta1.Application, accountResource *capabilitiesv1beta1.DeveloperAccount, productResource *capabilitiesv1beta1.Product, threescaleAPIClient *threescaleapi.ThreeScaleClient) *ApplicationThreescaleReconciler
func (*ApplicationThreescaleReconciler) Reconcile ¶ added in v0.11.0
func (t *ApplicationThreescaleReconciler) Reconcile() (*controllerhelper.ApplicationEntity, error)
type BackendReconciler ¶
type BackendReconciler struct {
*reconcilers.BaseReconciler
}
BackendReconciler reconciles a Backend object
func (*BackendReconciler) SetupWithManager ¶
func (r *BackendReconciler) SetupWithManager(mgr ctrl.Manager) error
type BackendStatusReconciler ¶
type BackendStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewBackendStatusReconciler ¶
func NewBackendStatusReconciler(b *reconcilers.BaseReconciler, backendResource *capabilitiesv1beta1.Backend, backendAPIEntity *controllerhelper.BackendAPIEntity, providerAccountHost string, syncError error) *BackendStatusReconciler
type BackendThreescaleReconciler ¶
type BackendThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewThreescaleReconciler ¶
func NewThreescaleReconciler(b *reconcilers.BaseReconciler, backendResource *capabilitiesv1beta1.Backend, threescaleAPIClient *threescaleapi.ThreeScaleClient, backendRemoteIndex *controllerhelper.BackendAPIRemoteIndex, providerAccount *controllerhelper.ProviderAccount, ) *BackendThreescaleReconciler
func (*BackendThreescaleReconciler) Reconcile ¶
func (t *BackendThreescaleReconciler) Reconcile() (*controllerhelper.BackendAPIEntity, error)
type CustomPolicyDefinitionReconciler ¶
type CustomPolicyDefinitionReconciler struct {
*reconcilers.BaseReconciler
}
CustomPolicyDefinitionReconciler reconciles a CustomPolicyDefinition object
func (*CustomPolicyDefinitionReconciler) SetupWithManager ¶
func (r *CustomPolicyDefinitionReconciler) SetupWithManager(mgr ctrl.Manager) error
type CustomPolicyDefinitionStatusReconciler ¶
type CustomPolicyDefinitionStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewCustomPolicyDefinitionStatusReconciler ¶
func NewCustomPolicyDefinitionStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.CustomPolicyDefinition, providerAccountHost string, customPolicy *threescaleapi.APIcastPolicy, reconcileError error) *CustomPolicyDefinitionStatusReconciler
type CustomPolicyDefinitionThreescaleReconciler ¶
type CustomPolicyDefinitionThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewCustomPolicyDefinitionThreescaleReconciler ¶
func NewCustomPolicyDefinitionThreescaleReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.CustomPolicyDefinition, threescaleAPIClient *threescaleapi.ThreeScaleClient, providerAccountHost string, logger logr.Logger) *CustomPolicyDefinitionThreescaleReconciler
func (*CustomPolicyDefinitionThreescaleReconciler) Reconcile ¶
func (s *CustomPolicyDefinitionThreescaleReconciler) Reconcile() (*threescaleapi.APIcastPolicy, error)
type DeveloperAccountReconciler ¶
type DeveloperAccountReconciler struct {
*reconcilers.BaseReconciler
}
DeveloperAccountReconciler reconciles a DeveloperAccount object
func (*DeveloperAccountReconciler) SetupWithManager ¶
func (r *DeveloperAccountReconciler) SetupWithManager(mgr ctrl.Manager) error
type DeveloperAccountStatusReconciler ¶
type DeveloperAccountStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewDeveloperAccountStatusReconciler ¶
func NewDeveloperAccountStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.DeveloperAccount, providerAccountHost string, remoteDeveloperAccount *threescaleapi.DeveloperAccount, reconcileError error) *DeveloperAccountStatusReconciler
type DeveloperAccountThreescaleReconciler ¶
type DeveloperAccountThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewDeveloperAccountThreescaleReconciler ¶
func NewDeveloperAccountThreescaleReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.DeveloperAccount, threescaleAPIClient *threescaleapi.ThreeScaleClient, providerAccountHost string, logger logr.Logger) *DeveloperAccountThreescaleReconciler
func (*DeveloperAccountThreescaleReconciler) Reconcile ¶
func (s *DeveloperAccountThreescaleReconciler) Reconcile() (*threescaleapi.DeveloperAccount, error)
type DeveloperUserReconciler ¶
type DeveloperUserReconciler struct {
*reconcilers.BaseReconciler
}
DeveloperUserReconciler reconciles a DeveloperUser object
func (*DeveloperUserReconciler) SetupWithManager ¶
func (r *DeveloperUserReconciler) SetupWithManager(mgr ctrl.Manager) error
type DeveloperUserStatusReconciler ¶
type DeveloperUserStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewDeveloperUserStatusReconciler ¶
func NewDeveloperUserStatusReconciler(b *reconcilers.BaseReconciler, userCR *capabilitiesv1beta1.DeveloperUser, parentAccountCR *capabilitiesv1beta1.DeveloperAccount, providerAccountHost string, remoteDeveloperUser *threescaleapi.DeveloperUser, reconcileError error, ) *DeveloperUserStatusReconciler
type DeveloperUserThreescaleReconciler ¶
type DeveloperUserThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewDeveloperUserThreescaleReconciler ¶
func NewDeveloperUserThreescaleReconciler(b *reconcilers.BaseReconciler, userCR *capabilitiesv1beta1.DeveloperUser, parentAccountCR *capabilitiesv1beta1.DeveloperAccount, threescaleAPIClient *threescaleapi.ThreeScaleClient, providerAccountHost string, logger logr.Logger, ) *DeveloperUserThreescaleReconciler
func (*DeveloperUserThreescaleReconciler) Reconcile ¶
func (s *DeveloperUserThreescaleReconciler) Reconcile() (*threescaleapi.DeveloperUser, error)
type OpenAPIBackendReconciler ¶
type OpenAPIBackendReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewOpenAPIBackendReconciler ¶
func NewOpenAPIBackendReconciler(b *reconcilers.BaseReconciler, openapiCR *capabilitiesv1beta1.OpenAPI, openapiObj *openapi3.T, providerAccount *controllerhelper.ProviderAccount, logger logr.Logger, ) *OpenAPIBackendReconciler
func (*OpenAPIBackendReconciler) Logger ¶
func (p *OpenAPIBackendReconciler) Logger() logr.Logger
func (*OpenAPIBackendReconciler) Reconcile ¶
func (p *OpenAPIBackendReconciler) Reconcile() ([]*capabilitiesv1beta1.Backend, error)
type OpenAPIProductReconciler ¶
type OpenAPIProductReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewOpenAPIProductReconciler ¶
func NewOpenAPIProductReconciler(b *reconcilers.BaseReconciler, openapiCR *capabilitiesv1beta1.OpenAPI, openapiObj *openapi3.T, providerAccount *controllerhelper.ProviderAccount, logger logr.Logger, ) *OpenAPIProductReconciler
func (*OpenAPIProductReconciler) Logger ¶
func (p *OpenAPIProductReconciler) Logger() logr.Logger
func (*OpenAPIProductReconciler) Reconcile ¶
func (p *OpenAPIProductReconciler) Reconcile() (*capabilitiesv1beta1.Product, error)
type OpenAPIReconciler ¶
type OpenAPIReconciler struct {
*reconcilers.BaseReconciler
}
OpenAPIReconciler reconciles a OpenAPI object
func (*OpenAPIReconciler) SetupWithManager ¶
func (r *OpenAPIReconciler) SetupWithManager(mgr ctrl.Manager) error
type OpenAPIStatusReconciler ¶
type OpenAPIStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewOpenAPIStatusReconciler ¶
func NewOpenAPIStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.OpenAPI, providerAccountHost string, reconcileError error, reconcileReady bool) *OpenAPIStatusReconciler
type ProductReconciler ¶
type ProductReconciler struct {
*reconcilers.BaseReconciler
}
ProductReconciler reconciles a Product object
func (*ProductReconciler) SetupWithManager ¶
func (r *ProductReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProductStatusReconciler ¶
type ProductStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewProductStatusReconciler ¶
func NewProductStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.Product, entity *controllerhelper.ProductEntity, providerAccountHost string, syncError error) *ProductStatusReconciler
type ProductThreescaleReconciler ¶
type ProductThreescaleReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewProductThreescaleReconciler ¶
func NewProductThreescaleReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.Product, threescaleAPIClient *threescaleapi.ThreeScaleClient, backendRemoteIndex *controllerhelper.BackendAPIRemoteIndex) *ProductThreescaleReconciler
func (*ProductThreescaleReconciler) Reconcile ¶
func (t *ProductThreescaleReconciler) Reconcile() (*controllerhelper.ProductEntity, error)
type ProxyConfigPromoteReconciler ¶ added in v0.10.0
type ProxyConfigPromoteReconciler struct {
*reconcilers.BaseReconciler
}
ProxyConfigPromoteReconciler reconciles a ProxyConfigPromote object
func (*ProxyConfigPromoteReconciler) SetupWithManager ¶ added in v0.10.0
func (r *ProxyConfigPromoteReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProxyConfigPromoteStatusReconciler ¶ added in v0.10.0
type ProxyConfigPromoteStatusReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
func NewProxyConfigPromoteStatusReconciler ¶ added in v0.10.0
func NewProxyConfigPromoteStatusReconciler(b *reconcilers.BaseReconciler, resource *capabilitiesv1beta1.ProxyConfigPromote, productID string, latestProductionVersion int, latestStagingVersion int, reconcileError error) *ProxyConfigPromoteStatusReconciler
type TenantInternalReconciler ¶
type TenantInternalReconciler struct { *reconcilers.BaseReconciler // contains filtered or unexported fields }
TenantInternalReconciler reconciles a Tenant object
func NewTenantInternalReconciler ¶
func NewTenantInternalReconciler(b *reconcilers.BaseReconciler, tenantR *apiv1alpha1.Tenant, portaClient *porta_client_pkg.ThreeScaleClient, log logr.Logger) *TenantInternalReconciler
NewTenantInternalReconciler constructs InternalReconciler object
type TenantReconciler ¶
type TenantReconciler struct {
*reconcilers.BaseReconciler
}
TenantReconciler reconciles a Tenant object
func (*TenantReconciler) SetupWithManager ¶
func (r *TenantReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
- activedoc_controller.go
- activedoc_status_reconciler.go
- activedoc_threescale_reconciler.go
- application_controller.go
- application_plan_reconciler.go
- application_plans.go
- application_status_reconciler.go
- application_threescale_reconciler.go
- applications.go
- backend_controller.go
- backend_status_reconciler.go
- backend_threescale_reconciler.go
- backend_usages.go
- custompolicydefinition_controller.go
- custompolicydefinition_status_reconciler.go
- custompolicydefinition_threescale_reconciler.go
- developeraccount_controller.go
- developeraccount_status_reconciler.go
- developeraccount_threescale_reconciler.go
- developeruser_controller.go
- developeruser_status_reconciler.go
- developeruser_threescale_reconciler.go
- mapping_rules.go
- methods.go
- metrics.go
- openapi_backend_reconciler.go
- openapi_controller.go
- openapi_product_reconciler.go
- openapi_status_reconciler.go
- product.go
- product_controller.go
- product_oidc.go
- product_policies.go
- product_status_reconciler.go
- product_threescale_reconciler.go
- proxy.go
- proxyconfigpromote_controller.go
- proxyconfigpromote_status_reconciler.go
- tenant_controller.go
- tenant_internal_reconciler.go