Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SaasAplicationControllers = cloudy.NewProviderRegistry[SaasAplicationController]()
Functions ¶
This section is empty.
Types ¶
type SaaSApplication ¶
type SaasAplicationController ¶
type SaasAplicationController interface {
// ApplyTeamConfig applys a configuration to the application. This encompassed add and removes, etc
ApplyTeamConfig(ctx context.Context, app *SaaSApplication, cfg interface{}) error
// Adds a member to the team
AddMember(ctx context.Context, app *SaaSApplication, uid string) error
// Removes a member from the team
RemoveMember(ctx context.Context, app *SaaSApplication, uid string) error
// Set Members
SetMembers(ctx context.Context, app *SaaSApplication, members []*models.User) error
// Archives / Deactivates team
DeactivateTeam(ctx context.Context, app *SaaSApplication) error
// Permenantly deletes team
DeleteTeam(ctx context.Context, app *SaaSApplication) error
}
type SaasApplicationTeamController ¶
type SaasApplicationTeamController interface {
// ApplyTeamConfig applys a configuration to the application. This encompassed add and removes, etc
ApplyTeamConfig(ctx context.Context, app *SaaSApplication, cfg interface{}) error
// Adds a member to the team
AddMember(ctx context.Context, app *SaaSApplication, uid string) error
// Removes a member from the team
RemoveMember(ctx context.Context, app *SaaSApplication, uid string) error
// Set Members
SetMembers(ctx context.Context, app *SaaSApplication, members []*models.User) error
// Archives / Deactivates team
DeactivateTeam(ctx context.Context, app *SaaSApplication) error
// Permenantly deletes team
DeleteTeam(ctx context.Context, app *SaaSApplication) error
}
Click to show internal directories.
Click to hide internal directories.