Documentation ¶
Index ¶
- func CreateDefaultOrganization(ctx context.Context, db *gorp.DbMap, organizations sdk.StringSlice) error
- func Delete(db gorpmapper.SqlExecutorWithTx, organizationID string) error
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, orga *sdk.Organization) error
- func LoadOrganizationByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Organization, error)
- func LoadOrganizationByIDs(ctx context.Context, db gorp.SqlExecutor, IDs []string) ([]sdk.Organization, error)
- func LoadOrganizationByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Organization, error)
- func LoadOrganizations(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Organization, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultOrganization ¶ added in v0.53.0
func Delete ¶
func Delete(db gorpmapper.SqlExecutorWithTx, organizationID string) error
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, orga *sdk.Organization) error
func LoadOrganizationByID ¶
func LoadOrganizationByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Organization, error)
func LoadOrganizationByIDs ¶ added in v0.53.0
func LoadOrganizationByIDs(ctx context.Context, db gorp.SqlExecutor, IDs []string) ([]sdk.Organization, error)
func LoadOrganizationByName ¶
func LoadOrganizationByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Organization, error)
func LoadOrganizations ¶ added in v0.53.0
func LoadOrganizations(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Organization, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.