Documentation ¶
Index ¶
- type AccountTeamMemberHandler
- func (h *AccountTeamMemberHandler) AccountTeamMemberCancelInvite(ctx context.Context, accountId string, teamId string, userEmail string) error
- func (h *AccountTeamMemberHandler) AccountTeamMemberVerifyInvite(ctx context.Context, accountId string, inviteVerificationCode string) (*AccountTeamMemberVerifyInviteOut, error)
- func (h *AccountTeamMemberHandler) AccountTeamMembersDelete(ctx context.Context, accountId string, teamId string, userId string) error
- func (h *AccountTeamMemberHandler) AccountTeamMembersInvite(ctx context.Context, accountId string, teamId string, ...) error
- func (h *AccountTeamMemberHandler) AccountTeamMembersList(ctx context.Context, accountId string, teamId string) ([]MemberOut, error)
- type AccountTeamMemberVerifyInviteOut
- type AccountTeamMembersInviteIn
- type Handler
- type MemberOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountTeamMemberHandler ¶
type AccountTeamMemberHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(doer doer) AccountTeamMemberHandler
func (*AccountTeamMemberHandler) AccountTeamMemberCancelInvite ¶
func (*AccountTeamMemberHandler) AccountTeamMemberVerifyInvite ¶
func (h *AccountTeamMemberHandler) AccountTeamMemberVerifyInvite(ctx context.Context, accountId string, inviteVerificationCode string) (*AccountTeamMemberVerifyInviteOut, error)
func (*AccountTeamMemberHandler) AccountTeamMembersDelete ¶ added in v0.15.0
func (*AccountTeamMemberHandler) AccountTeamMembersInvite ¶
func (h *AccountTeamMemberHandler) AccountTeamMembersInvite(ctx context.Context, accountId string, teamId string, in *AccountTeamMembersInviteIn) error
func (*AccountTeamMemberHandler) AccountTeamMembersList ¶
type AccountTeamMemberVerifyInviteOut ¶
type AccountTeamMemberVerifyInviteOut struct {
UserEmail string `json:"user_email"` // User email address
}
AccountTeamMemberVerifyInviteOut Details of verified invite
type AccountTeamMembersInviteIn ¶
type AccountTeamMembersInviteIn struct {
Email string `json:"email"` // User email address
}
AccountTeamMembersInviteIn AccountTeamMembersInviteRequestBody
type Handler ¶
type Handler interface { // Deprecated: AccountTeamMemberCancelInvite cancel pending user invite // DELETE /v1/account/{account_id}/team/{team_id}/invites/{user_email} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMemberCancelInvite AccountTeamMemberCancelInvite(ctx context.Context, accountId string, teamId string, userEmail string) error // AccountTeamMemberVerifyInvite confirm account team invite // POST /v1/account/{account_id}/invite/{invite_verification_code} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMemberVerifyInvite AccountTeamMemberVerifyInvite(ctx context.Context, accountId string, inviteVerificationCode string) (*AccountTeamMemberVerifyInviteOut, error) // Deprecated: AccountTeamMembersDelete remove a member from the team // DELETE /v1/account/{account_id}/team/{team_id}/member/{user_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersDelete AccountTeamMembersDelete(ctx context.Context, accountId string, teamId string, userId string) error // Deprecated: AccountTeamMembersInvite invite a new member to join the team // POST /v1/account/{account_id}/team/{team_id}/members // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersInvite AccountTeamMembersInvite(ctx context.Context, accountId string, teamId string, in *AccountTeamMembersInviteIn) error // Deprecated: AccountTeamMembersList list members of a single team // GET /v1/account/{account_id}/team/{team_id}/members // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersList AccountTeamMembersList(ctx context.Context, accountId string, teamId string) ([]MemberOut, error) }
type MemberOut ¶
type MemberOut struct { CreateTime time.Time `json:"create_time"` // Timestamp in ISO 8601 format, always in UTC RealName string `json:"real_name"` // User real name TeamId string `json:"team_id"` // Team ID TeamName string `json:"team_name"` // Team name UpdateTime time.Time `json:"update_time"` // Timestamp in ISO 8601 format, always in UTC UserEmail string `json:"user_email"` // User email address UserId string `json:"user_id"` // User ID }
Click to show internal directories.
Click to hide internal directories.