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) 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) 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"`
}
type AccountTeamMembersInviteIn ¶
type AccountTeamMembersInviteIn struct {
Email string `json:"email"`
}
type Handler ¶
type Handler interface { // 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) // 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 // 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) }
Click to show internal directories.
Click to hide internal directories.