Documentation ¶
Index ¶
- Variables
- type APIKey
- type AccountV2
- func (a *AccountV2) AddSearchFilter(name string, query string, targetType proto.FilterTargetType, ...) (*proto.SearchFilter, error)
- func (a *AccountV2) ChangeAvatar(image []byte, fileType string) error
- func (a *AccountV2) ChangeAvatarImageURL(url string) error
- func (a *AccountV2) ChangeDefaultSearchFilter(id string, defaultFilter bool) error
- func (a *AccountV2) ChangeEnvironmentRole(roles []*proto.AccountV2_EnvironmentRole) error
- func (a *AccountV2) ChangeFirstName(newFirstName string) error
- func (a *AccountV2) ChangeLanguage(newLanguage string) error
- func (a *AccountV2) ChangeLastName(newLastName string) error
- func (a *AccountV2) ChangeLastSeen(lastSeen int64) error
- func (a *AccountV2) ChangeName(newName string) error
- func (a *AccountV2) ChangeOrganizationRole(role proto.AccountV2_Role_Organization) error
- func (a *AccountV2) ChangeSearchFilterName(id string, name string) error
- func (a *AccountV2) ChangeSearchFilterQuery(id string, query string) error
- func (a *AccountV2) DeleteSearchFilter(id string) error
- func (a *AccountV2) Disable() error
- func (a *AccountV2) Enable() error
- func (a *AccountV2) PatchEnvironmentRole(patchRoles []*proto.AccountV2_EnvironmentRole) error
- func (a *AccountV2) Update(name, firstName, lastName, language, avatarImageURL *wrapperspb.StringValue, ...) (*AccountV2, error)
- type AccountWithOrganization
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSearchFilterNotFound = errors.New("account: search filter not found")
)
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
func (*APIKey) Update ¶ added in v1.1.0
func (a *APIKey) Update( name *wrapperspb.StringValue, description *wrapperspb.StringValue, role proto.APIKey_Role, maintainer *wrapperspb.StringValue, disabled *wrapperspb.BoolValue, ) (*APIKey, error)
type AccountV2 ¶ added in v0.4.0
func NewAccountV2 ¶ added in v0.4.0
func NewAccountV2( email, name, firstName, lastName, language, avatarImageURL, organizationID string, organizationRole proto.AccountV2_Role_Organization, environmentRoles []*proto.AccountV2_EnvironmentRole, ) *AccountV2
func (*AccountV2) AddSearchFilter ¶ added in v0.4.7
func (a *AccountV2) AddSearchFilter( name string, query string, targetType proto.FilterTargetType, environmentID string, defaultFilter bool) (*proto.SearchFilter, error)
func (*AccountV2) ChangeAvatar ¶ added in v1.0.0
func (*AccountV2) ChangeAvatarImageURL ¶ added in v0.4.0
func (*AccountV2) ChangeDefaultSearchFilter ¶ added in v0.4.8
func (*AccountV2) ChangeEnvironmentRole ¶ added in v0.4.0
func (a *AccountV2) ChangeEnvironmentRole(roles []*proto.AccountV2_EnvironmentRole) error
func (*AccountV2) ChangeFirstName ¶ added in v1.0.0
func (*AccountV2) ChangeLanguage ¶ added in v1.0.0
func (*AccountV2) ChangeLastName ¶ added in v1.0.0
func (*AccountV2) ChangeLastSeen ¶ added in v1.0.0
func (*AccountV2) ChangeName ¶ added in v0.4.0
func (*AccountV2) ChangeOrganizationRole ¶ added in v0.4.0
func (a *AccountV2) ChangeOrganizationRole(role proto.AccountV2_Role_Organization) error
func (*AccountV2) ChangeSearchFilterName ¶ added in v0.4.8
func (*AccountV2) ChangeSearchFilterQuery ¶ added in v0.4.8
func (*AccountV2) DeleteSearchFilter ¶ added in v0.4.7
func (*AccountV2) PatchEnvironmentRole ¶ added in v0.4.0
func (a *AccountV2) PatchEnvironmentRole(patchRoles []*proto.AccountV2_EnvironmentRole) error
func (*AccountV2) Update ¶ added in v1.1.0
func (a *AccountV2) Update( name, firstName, lastName, language, avatarImageURL *wrapperspb.StringValue, avatar *proto.UpdateAccountV2Request_AccountV2Avatar, organizationRole *proto.UpdateAccountV2Request_OrganizationRoleValue, environmentRoles []*proto.AccountV2_EnvironmentRole, isDisabled *wrapperspb.BoolValue, ) (*AccountV2, error)
type AccountWithOrganization ¶ added in v0.4.0
type AccountWithOrganization struct { *proto.AccountV2 *environmentproto.Organization }
Click to show internal directories.
Click to hide internal directories.