subroutine

package
v0.25.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountInfoFinalizer = "security.platform-mesh.io/accountinfo-finalizer"
	APIBindingFinalizer  = "core.platform-mesh.io/apibinding-finalizer"
)

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 NewInviteSubroutine(orgsClient client.Client, mgr mcmanager.Manager) *inviteSubroutine

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 NewWorkspaceAuthConfigurationSubroutine(orgClient, runtimeClient client.Client, mgr mcmanager.Manager, cfg config.Config) *workspaceAuthSubroutine

func NewWorkspaceInitializer

func NewWorkspaceInitializer(orgsClient client.Client, cfg config.Config, mgr mcmanager.Manager, creatorRelation, objectType string) *workspaceInitializer

Types

type AccountInfoFinalizerSubroutine added in v0.19.0

type AccountInfoFinalizerSubroutine struct {
	// contains filtered or unexported fields
}

func NewAccountInfoFinalizerSubroutine added in v0.19.0

func NewAccountInfoFinalizerSubroutine(mgr mcmanager.Manager) *AccountInfoFinalizerSubroutine

func (*AccountInfoFinalizerSubroutine) Finalize added in v0.19.0

func (*AccountInfoFinalizerSubroutine) Finalizers added in v0.19.0

func (*AccountInfoFinalizerSubroutine) GetName added in v0.19.0

func (*AccountInfoFinalizerSubroutine) Process added in v0.19.0

type AccountTuplesSubroutine added in v0.22.13

type AccountTuplesSubroutine struct {
	// contains filtered or unexported fields
}

AccountTuplesSubroutine creates FGA tuples for Accounts not of the "org"-type when initializing, and deletes them when terminating.

func NewAccountTuplesSubroutine added in v0.22.13

func NewAccountTuplesSubroutine(mcc mcclient.ClusterClient, mgr mcmanager.Manager, fga openfgav1.OpenFGAServiceClient, storeIDGetter fga.StoreIDGetter, creatorRelation, parentRelation, objectType string) *AccountTuplesSubroutine

func (*AccountTuplesSubroutine) Finalize added in v0.22.13

Finalize implements lifecycle.Subroutine.

func (*AccountTuplesSubroutine) Finalizers added in v0.22.13

Finalizers implements lifecycle.Subroutine.

func (*AccountTuplesSubroutine) GetName added in v0.22.13

func (s *AccountTuplesSubroutine) GetName() string

GetName implements lifecycle.Subroutine.

func (*AccountTuplesSubroutine) Initialize added in v0.22.13

Initialize implements lifecycle.Initializer.

func (*AccountTuplesSubroutine) Process added in v0.22.13

Process implements lifecycle.Subroutine as no-op since Initialize handles the work when not in deletion.

func (*AccountTuplesSubroutine) Terminate added in v0.22.13

Terminate implements lifecycle.Terminator.

type AuthorizationModelGenerationSubroutine

type AuthorizationModelGenerationSubroutine struct {
	// contains filtered or unexported fields
}

func NewAuthorizationModelGenerationSubroutine

func NewAuthorizationModelGenerationSubroutine(mcMgr mcmanager.Manager, allClient client.Client) *AuthorizationModelGenerationSubroutine

func (*AuthorizationModelGenerationSubroutine) Finalize

Finalize implements lifecycle.Subroutine.

func (*AuthorizationModelGenerationSubroutine) Finalizers

Finalizers implements lifecycle.Subroutine.

func (*AuthorizationModelGenerationSubroutine) GetName

GetName implements lifecycle.Subroutine.

func (*AuthorizationModelGenerationSubroutine) Process

Process implements lifecycle.Subroutine.

type IDPSubroutine added in v0.12.0

type IDPSubroutine struct {
	// contains filtered or unexported fields
}

func NewIDPSubroutine added in v0.12.0

func NewIDPSubroutine(orgsClient client.Client, mgr mcmanager.Manager, cfg config.Config) *IDPSubroutine

func (*IDPSubroutine) Finalize added in v0.12.0

func (*IDPSubroutine) Finalizers added in v0.12.0

func (i *IDPSubroutine) Finalizers(_ runtimeobject.RuntimeObject) []string

func (*IDPSubroutine) GetName added in v0.12.0

func (i *IDPSubroutine) GetName() string

func (*IDPSubroutine) Initialize added in v0.22.13

Initialize implements lifecycle.Initializer.

func (*IDPSubroutine) Process added in v0.12.0

Process implements lifecycle.Subroutine as no-op since Initialize handles the work.

type NewDiscoveryClientFunc added in v0.9.1

type NewDiscoveryClientFunc func(cfg *rest.Config) discovery.DiscoveryInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL