Documentation
¶
Index ¶
- Constants
- func NewAuthorizationModelSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager, ...) *authorizationModelSubroutine
- func NewInviteSubroutine(orgsClient client.Client, mgr mcmanager.Manager) *inviteSubroutine
- func NewRealmSubroutine(k8s client.Client, cfg *config.Config, baseDomain string) *realmSubroutine
- func NewRemoveInitializer(mgr mcmanager.Manager, cfg config.Config, runtimeClient client.Client) *removeInitializer
- func NewStoreSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager) *storeSubroutine
- func NewTupleSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager) *tupleSubroutine
- func NewWorkspaceAuthConfigurationSubroutine(client, runtimeClient client.Client, cfg config.Config) *workspaceAuthSubroutine
- func NewWorkspaceInitializer(orgsClient client.Client, cfg config.Config, mgr mcmanager.Manager) *workspaceInitializer
- func ReplaceTemplate(templateData map[string]string, templateBytes []byte) ([]byte, error)
- type AuthorizationModelGenerationSubroutine
- func (a *AuthorizationModelGenerationSubroutine) Finalize(ctx context.Context, instance lifecyclecontrollerruntime.RuntimeObject) (ctrl.Result, errors.OperatorError)
- func (a *AuthorizationModelGenerationSubroutine) Finalizers(_ lifecyclecontrollerruntime.RuntimeObject) []string
- func (a *AuthorizationModelGenerationSubroutine) GetName() string
- func (a *AuthorizationModelGenerationSubroutine) Process(ctx context.Context, instance lifecyclecontrollerruntime.RuntimeObject) (ctrl.Result, errors.OperatorError)
- type NewDiscoveryClientFunc
Constants ¶
View Source
const (
PortalClientSecretNamespace = "platform-mesh-system"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizationModelSubroutine ¶
func NewAuthorizationModelSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager, allClient client.Client, newDiscoveryClientFunc NewDiscoveryClientFunc, log *logger.Logger) *authorizationModelSubroutine
func NewInviteSubroutine ¶ added in v0.8.2
func NewRealmSubroutine ¶
func NewRemoveInitializer ¶ added in v0.6.0
func NewStoreSubroutine ¶
func NewStoreSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager) *storeSubroutine
func NewTupleSubroutine ¶
func NewTupleSubroutine(fga openfgav1.OpenFGAServiceClient, mgr mcmanager.Manager) *tupleSubroutine
func NewWorkspaceAuthConfigurationSubroutine ¶ added in v0.2.0
func NewWorkspaceInitializer ¶
Types ¶
type AuthorizationModelGenerationSubroutine ¶
type AuthorizationModelGenerationSubroutine struct {
// contains filtered or unexported fields
}
func NewAuthorizationModelGenerationSubroutine ¶
func NewAuthorizationModelGenerationSubroutine(mcMgr mcmanager.Manager) *AuthorizationModelGenerationSubroutine
func (*AuthorizationModelGenerationSubroutine) Finalize ¶
func (a *AuthorizationModelGenerationSubroutine) Finalize(ctx context.Context, instance lifecyclecontrollerruntime.RuntimeObject) (ctrl.Result, errors.OperatorError)
Finalize implements lifecycle.Subroutine.
func (*AuthorizationModelGenerationSubroutine) Finalizers ¶
func (a *AuthorizationModelGenerationSubroutine) Finalizers(_ lifecyclecontrollerruntime.RuntimeObject) []string
Finalizers implements lifecycle.Subroutine.
func (*AuthorizationModelGenerationSubroutine) GetName ¶
func (a *AuthorizationModelGenerationSubroutine) GetName() string
GetName implements lifecycle.Subroutine.
func (*AuthorizationModelGenerationSubroutine) Process ¶
func (a *AuthorizationModelGenerationSubroutine) Process(ctx context.Context, instance lifecyclecontrollerruntime.RuntimeObject) (ctrl.Result, errors.OperatorError)
Process implements lifecycle.Subroutine.
type NewDiscoveryClientFunc ¶ added in v0.9.1
type NewDiscoveryClientFunc func(cfg *rest.Config) discovery.DiscoveryInterface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.