domain

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	*proto.APIKey
}

func NewAPIKey

func NewAPIKey(name string, role proto.APIKey_Role) (*APIKey, error)

func (*APIKey) Disable

func (a *APIKey) Disable() error

func (*APIKey) Enable

func (a *APIKey) Enable() error

func (*APIKey) Rename

func (a *APIKey) Rename(name string) error

type AccountV2 added in v0.4.0

type AccountV2 struct {
	*proto.AccountV2
}

func NewAccountV2 added in v0.4.0

func NewAccountV2(
	email, name, avatarImageURL, organizationID string,
	organizationRole proto.AccountV2_Role_Organization,
	environmentRoles []*proto.AccountV2_EnvironmentRole,
) *AccountV2

func (*AccountV2) ChangeAvatarImageURL added in v0.4.0

func (a *AccountV2) ChangeAvatarImageURL(url string) error

func (*AccountV2) ChangeEnvironmentRole added in v0.4.0

func (a *AccountV2) ChangeEnvironmentRole(roles []*proto.AccountV2_EnvironmentRole) error

func (*AccountV2) ChangeName added in v0.4.0

func (a *AccountV2) ChangeName(newName string) error

func (*AccountV2) ChangeOrganizationRole added in v0.4.0

func (a *AccountV2) ChangeOrganizationRole(role proto.AccountV2_Role_Organization) error

func (*AccountV2) Disable added in v0.4.0

func (a *AccountV2) Disable() error

func (*AccountV2) Enable added in v0.4.0

func (a *AccountV2) Enable() error

func (*AccountV2) PatchEnvironmentRole added in v0.4.0

func (a *AccountV2) PatchEnvironmentRole(patchRoles []*proto.AccountV2_EnvironmentRole) error

type AccountWithOrganization added in v0.4.0

type AccountWithOrganization struct {
	*proto.AccountV2
	*environmentproto.Organization
}

Jump to

Keyboard shortcuts

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