graphql

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 Delete

func Delete(ctx context.ServiceContext, client *clients.GQLClient, id string) error

Delete a organisation by ID

func Get

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

List organisations

func Update

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.

Jump to

Keyboard shortcuts

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