Documentation
¶
Index ¶
- func Create(ctx context.ServiceContext, client *clients.GQLClient, name string) (*commons.Organisation, error)
- func CreateWithUserID(ctx context.ServiceContext, client *clients.GQLClient, ...) (*commons.Organisation, error)
- func Delete(ctx context.ServiceContext, client *clients.GQLClient, id string) error
- func Get(ctx context.ServiceContext, client *clients.GQLClient, id string) (*commons.Organisation, error)
- func GetByEnvironment(ctx context.ServiceContext, client *clients.GQLClient, env_id string) (*commons.Organisation, error)
- func GetServerKeyCopy(ctx context.ServiceContext, client *clients.GQLClient, id string) ([]byte, error)
- func List(ctx context.ServiceContext, client *clients.GQLClient) (*[]commons.Organisation, error)
- func Update(ctx context.ServiceContext, client *clients.GQLClient, id string, ...) (*commons.Organisation, error)
- func UpdateInviteLimit(ctx context.ServiceContext, client *clients.GQLClient, ...) error
- func UpdateServerKeyCopy(ctx context.ServiceContext, client *clients.GQLClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.ServiceContext, client *clients.GQLClient, name string) (*commons.Organisation, error)
Create a new organisation
func CreateWithUserID ¶
func CreateWithUserID(ctx context.ServiceContext, client *clients.GQLClient, options *commons.CreateOptions) (*commons.Organisation, error)
Create a new organisation
func Get ¶
func Get(ctx context.ServiceContext, client *clients.GQLClient, id string) (*commons.Organisation, error)
Get a organisation by ID
func GetByEnvironment ¶
func GetByEnvironment(ctx context.ServiceContext, client *clients.GQLClient, env_id string) (*commons.Organisation, error)
Get a organisation by ID
func GetServerKeyCopy ¶
func GetServerKeyCopy(ctx context.ServiceContext, client *clients.GQLClient, id string) ([]byte, error)
Get an organisation's key copy of the server
func List ¶
func List(ctx context.ServiceContext, client *clients.GQLClient) (*[]commons.Organisation, error)
List organisations
func Update ¶
func Update(ctx context.ServiceContext, client *clients.GQLClient, id string, options *commons.UpdateOptions) (*commons.Organisation, error)
Update a organisation by ID
func UpdateInviteLimit ¶
func UpdateInviteLimit(ctx context.ServiceContext, client *clients.GQLClient, options *commons.UpdateInviteLimitOptions) error
func UpdateServerKeyCopy ¶
func UpdateServerKeyCopy(ctx context.ServiceContext, client *clients.GQLClient, options *commons.UpdateServerKeyCopyOptions) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.