organization

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultOrganization added in v0.53.0

func CreateDefaultOrganization(ctx context.Context, db *gorp.DbMap, organizations sdk.StringSlice) error

func Delete

func Delete(db gorpmapper.SqlExecutorWithTx, organizationID string) 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.

Jump to

Keyboard shortcuts

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