com_datadoghq_gitlab_users

package
v0.0.0-...-3ab1337 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitlabUsers

func NewGitlabUsers() types.Bundle

Types

type ActivateUserHandler

type ActivateUserHandler struct{}

func NewActivateUserHandler

func NewActivateUserHandler() *ActivateUserHandler

func (*ActivateUserHandler) Run

type ActivateUserInputs

type ActivateUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type ActivateUserOutputs

type ActivateUserOutputs struct{}

type AddEmailForUserHandler

type AddEmailForUserHandler struct{}

func NewAddEmailForUserHandler

func NewAddEmailForUserHandler() *AddEmailForUserHandler

func (*AddEmailForUserHandler) Run

type AddEmailForUserInputs

type AddEmailForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.AddEmailOptions
}

type AddEmailForUserOutputs

type AddEmailForUserOutputs struct {
	Email *gitlab.Email `json:"email"`
}

type AddEmailHandler

type AddEmailHandler struct{}

func NewAddEmailHandler

func NewAddEmailHandler() *AddEmailHandler

func (*AddEmailHandler) Run

func (h *AddEmailHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type AddEmailInputs

type AddEmailInputs struct {
	*gitlab.AddEmailOptions
}

type AddEmailOutputs

type AddEmailOutputs struct {
	Email *gitlab.Email `json:"email"`
}

type AddGPGKeyForUserHandler

type AddGPGKeyForUserHandler struct{}

func NewAddGPGKeyForUserHandler

func NewAddGPGKeyForUserHandler() *AddGPGKeyForUserHandler

func (*AddGPGKeyForUserHandler) Run

type AddGPGKeyForUserInputs

type AddGPGKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.AddGPGKeyOptions
}

type AddGPGKeyForUserOutputs

type AddGPGKeyForUserOutputs struct {
	GpgKey *gitlab.GPGKey `json:"gpg_key"`
}

type AddGPGKeyHandler

type AddGPGKeyHandler struct{}

func NewAddGPGKeyHandler

func NewAddGPGKeyHandler() *AddGPGKeyHandler

func (*AddGPGKeyHandler) Run

func (h *AddGPGKeyHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type AddGPGKeyInputs

type AddGPGKeyInputs struct {
	*gitlab.AddGPGKeyOptions
}

type AddGPGKeyOutputs

type AddGPGKeyOutputs struct {
	GpgKey *gitlab.GPGKey `json:"gpg_key"`
}

type AddSSHKeyForUserHandler

type AddSSHKeyForUserHandler struct{}

func NewAddSSHKeyForUserHandler

func NewAddSSHKeyForUserHandler() *AddSSHKeyForUserHandler

func (*AddSSHKeyForUserHandler) Run

type AddSSHKeyForUserInputs

type AddSSHKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.AddSSHKeyOptions
}

type AddSSHKeyForUserOutputs

type AddSSHKeyForUserOutputs struct {
	SshKey *gitlab.SSHKey `json:"ssh_key"`
}

type AddSSHKeyHandler

type AddSSHKeyHandler struct{}

func NewAddSSHKeyHandler

func NewAddSSHKeyHandler() *AddSSHKeyHandler

func (*AddSSHKeyHandler) Run

func (h *AddSSHKeyHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type AddSSHKeyInputs

type AddSSHKeyInputs struct {
	*gitlab.AddSSHKeyOptions
}

type AddSSHKeyOutputs

type AddSSHKeyOutputs struct {
	SshKey *gitlab.SSHKey `json:"ssh_key"`
}

type ApproveUserHandler

type ApproveUserHandler struct{}

func NewApproveUserHandler

func NewApproveUserHandler() *ApproveUserHandler

func (*ApproveUserHandler) Run

type ApproveUserInputs

type ApproveUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type ApproveUserOutputs

type ApproveUserOutputs struct{}

type BanUserHandler

type BanUserHandler struct{}

func NewBanUserHandler

func NewBanUserHandler() *BanUserHandler

func (*BanUserHandler) Run

func (h *BanUserHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type BanUserInputs

type BanUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type BanUserOutputs

type BanUserOutputs struct{}

type BlockUserHandler

type BlockUserHandler struct{}

func NewBlockUserHandler

func NewBlockUserHandler() *BlockUserHandler

func (*BlockUserHandler) Run

func (h *BlockUserHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type BlockUserInputs

type BlockUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type BlockUserOutputs

type BlockUserOutputs struct{}

type CreateServiceAccountUserHandler

type CreateServiceAccountUserHandler struct{}

func NewCreateServiceAccountUserHandler

func NewCreateServiceAccountUserHandler() *CreateServiceAccountUserHandler

func (*CreateServiceAccountUserHandler) Run

type CreateServiceAccountUserInputs

type CreateServiceAccountUserInputs struct {
	*gitlab.CreateServiceAccountUserOptions
}

type CreateServiceAccountUserOutputs

type CreateServiceAccountUserOutputs struct {
	ServiceAccount *ServiceAccount `json:"service_account"`
}

type CreateUserHandler

type CreateUserHandler struct{}

func NewCreateUserHandler

func NewCreateUserHandler() *CreateUserHandler

func (*CreateUserHandler) Run

type CreateUserInputs

type CreateUserInputs struct {
	*gitlab.CreateUserOptions
}

type CreateUserOutputs

type CreateUserOutputs struct {
	User *gitlab.User `json:"user"`
}

type CreateUserRunnerHandler

type CreateUserRunnerHandler struct{}

func NewCreateUserRunnerHandler

func NewCreateUserRunnerHandler() *CreateUserRunnerHandler

func (*CreateUserRunnerHandler) Run

type CreateUserRunnerInputs

type CreateUserRunnerInputs struct {
	*gitlab.CreateUserRunnerOptions
}

type CreateUserRunnerOutputs

type CreateUserRunnerOutputs struct {
	UserRunner *gitlab.UserRunner `json:"user_runner"`
}

type CurrentUserHandler

type CurrentUserHandler struct{}

func NewCurrentUserHandler

func NewCurrentUserHandler() *CurrentUserHandler

func (*CurrentUserHandler) Run

type CurrentUserInputs

type CurrentUserInputs struct{}

type CurrentUserOutputs

type CurrentUserOutputs struct {
	User *gitlab.User `json:"user"`
}

type CurrentUserStatusHandler

type CurrentUserStatusHandler struct{}

func NewCurrentUserStatusHandler

func NewCurrentUserStatusHandler() *CurrentUserStatusHandler

func (*CurrentUserStatusHandler) Run

type CurrentUserStatusInputs

type CurrentUserStatusInputs struct{}

type CurrentUserStatusOutputs

type CurrentUserStatusOutputs struct {
	UserStatus *gitlab.UserStatus `json:"user_status"`
}

type DeactivateUserHandler

type DeactivateUserHandler struct{}

func NewDeactivateUserHandler

func NewDeactivateUserHandler() *DeactivateUserHandler

func (*DeactivateUserHandler) Run

type DeactivateUserInputs

type DeactivateUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type DeactivateUserOutputs

type DeactivateUserOutputs struct{}

type DeleteEmailForUserHandler

type DeleteEmailForUserHandler struct{}

func NewDeleteEmailForUserHandler

func NewDeleteEmailForUserHandler() *DeleteEmailForUserHandler

func (*DeleteEmailForUserHandler) Run

type DeleteEmailForUserInputs

type DeleteEmailForUserInputs struct {
	UserId  int64 `json:"user_id,omitempty"`
	EmailId int64 `json:"email_id,omitempty"`
}

type DeleteEmailForUserOutputs

type DeleteEmailForUserOutputs struct{}

type DeleteEmailHandler

type DeleteEmailHandler struct{}

func NewDeleteEmailHandler

func NewDeleteEmailHandler() *DeleteEmailHandler

func (*DeleteEmailHandler) Run

type DeleteEmailInputs

type DeleteEmailInputs struct {
	EmailId int64 `json:"email_id,omitempty"`
}

type DeleteEmailOutputs

type DeleteEmailOutputs struct{}

type DeleteGPGKeyForUserHandler

type DeleteGPGKeyForUserHandler struct{}

func NewDeleteGPGKeyForUserHandler

func NewDeleteGPGKeyForUserHandler() *DeleteGPGKeyForUserHandler

func (*DeleteGPGKeyForUserHandler) Run

type DeleteGPGKeyForUserInputs

type DeleteGPGKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	KeyId  int64 `json:"key_id,omitempty"`
}

type DeleteGPGKeyForUserOutputs

type DeleteGPGKeyForUserOutputs struct{}

type DeleteGPGKeyHandler

type DeleteGPGKeyHandler struct{}

func NewDeleteGPGKeyHandler

func NewDeleteGPGKeyHandler() *DeleteGPGKeyHandler

func (*DeleteGPGKeyHandler) Run

type DeleteGPGKeyInputs

type DeleteGPGKeyInputs struct {
	KeyId int64 `json:"key_id,omitempty"`
}

type DeleteGPGKeyOutputs

type DeleteGPGKeyOutputs struct{}

type DeleteSSHKeyForUserHandler

type DeleteSSHKeyForUserHandler struct{}

func NewDeleteSSHKeyForUserHandler

func NewDeleteSSHKeyForUserHandler() *DeleteSSHKeyForUserHandler

func (*DeleteSSHKeyForUserHandler) Run

type DeleteSSHKeyForUserInputs

type DeleteSSHKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	KeyId  int64 `json:"key_id,omitempty"`
}

type DeleteSSHKeyForUserOutputs

type DeleteSSHKeyForUserOutputs struct{}

type DeleteSSHKeyHandler

type DeleteSSHKeyHandler struct{}

func NewDeleteSSHKeyHandler

func NewDeleteSSHKeyHandler() *DeleteSSHKeyHandler

func (*DeleteSSHKeyHandler) Run

type DeleteSSHKeyInputs

type DeleteSSHKeyInputs struct {
	KeyId int64 `json:"key_id,omitempty"`
}

type DeleteSSHKeyOutputs

type DeleteSSHKeyOutputs struct{}

type DeleteUserHandler

type DeleteUserHandler struct{}

func NewDeleteUserHandler

func NewDeleteUserHandler() *DeleteUserHandler

func (*DeleteUserHandler) Run

type DeleteUserInputs

type DeleteUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type DeleteUserOutputs

type DeleteUserOutputs struct{}

type DisableTwoFactorHandler

type DisableTwoFactorHandler struct{}

func NewDisableTwoFactorHandler

func NewDisableTwoFactorHandler() *DisableTwoFactorHandler

func (*DisableTwoFactorHandler) Run

type DisableTwoFactorInputs

type DisableTwoFactorInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type DisableTwoFactorOutputs

type DisableTwoFactorOutputs struct{}

type GetAllImpersonationTokensHandler

type GetAllImpersonationTokensHandler struct{}

func NewGetAllImpersonationTokensHandler

func NewGetAllImpersonationTokensHandler() *GetAllImpersonationTokensHandler

func (*GetAllImpersonationTokensHandler) Run

type GetAllImpersonationTokensInputs

type GetAllImpersonationTokensInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.GetAllImpersonationTokensOptions
}

type GetAllImpersonationTokensOutputs

type GetAllImpersonationTokensOutputs struct {
	ImpersonationTokens []*gitlab.ImpersonationToken `json:"impersonation_tokens"`
}

type GetEmailHandler

type GetEmailHandler struct{}

func NewGetEmailHandler

func NewGetEmailHandler() *GetEmailHandler

func (*GetEmailHandler) Run

func (h *GetEmailHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type GetEmailInputs

type GetEmailInputs struct {
	EmailId int64 `json:"email_id,omitempty"`
}

type GetEmailOutputs

type GetEmailOutputs struct {
	Email *gitlab.Email `json:"email"`
}

type GetGPGKeyForUserHandler

type GetGPGKeyForUserHandler struct{}

func NewGetGPGKeyForUserHandler

func NewGetGPGKeyForUserHandler() *GetGPGKeyForUserHandler

func (*GetGPGKeyForUserHandler) Run

type GetGPGKeyForUserInputs

type GetGPGKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	KeyId  int64 `json:"key_id,omitempty"`
}

type GetGPGKeyForUserOutputs

type GetGPGKeyForUserOutputs struct {
	GpgKey *gitlab.GPGKey `json:"gpg_key"`
}

type GetGPGKeyHandler

type GetGPGKeyHandler struct{}

func NewGetGPGKeyHandler

func NewGetGPGKeyHandler() *GetGPGKeyHandler

func (*GetGPGKeyHandler) Run

func (h *GetGPGKeyHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type GetGPGKeyInputs

type GetGPGKeyInputs struct {
	KeyId int64 `json:"key_id,omitempty"`
}

type GetGPGKeyOutputs

type GetGPGKeyOutputs struct {
	GpgKey *gitlab.GPGKey `json:"gpg_key"`
}

type GetImpersonationTokenHandler

type GetImpersonationTokenHandler struct{}

func NewGetImpersonationTokenHandler

func NewGetImpersonationTokenHandler() *GetImpersonationTokenHandler

func (*GetImpersonationTokenHandler) Run

type GetImpersonationTokenInputs

type GetImpersonationTokenInputs struct {
	UserId               int64 `json:"user_id,omitempty"`
	ImpersonationTokenId int64 `json:"impersonation_token_id,omitempty"`
}

type GetImpersonationTokenOutputs

type GetImpersonationTokenOutputs struct {
	ImpersonationToken *gitlab.ImpersonationToken `json:"impersonation_token"`
}

type GetSSHKeyForUserHandler

type GetSSHKeyForUserHandler struct{}

func NewGetSSHKeyForUserHandler

func NewGetSSHKeyForUserHandler() *GetSSHKeyForUserHandler

func (*GetSSHKeyForUserHandler) Run

type GetSSHKeyForUserInputs

type GetSSHKeyForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	KeyId  int64 `json:"key_id,omitempty"`
}

type GetSSHKeyForUserOutputs

type GetSSHKeyForUserOutputs struct {
	SshKey *gitlab.SSHKey `json:"ssh_key"`
}

type GetSSHKeyHandler

type GetSSHKeyHandler struct{}

func NewGetSSHKeyHandler

func NewGetSSHKeyHandler() *GetSSHKeyHandler

func (*GetSSHKeyHandler) Run

func (h *GetSSHKeyHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type GetSSHKeyInputs

type GetSSHKeyInputs struct {
	KeyId int64 `json:"key_id,omitempty"`
}

type GetSSHKeyOutputs

type GetSSHKeyOutputs struct {
	SshKey *gitlab.SSHKey `json:"ssh_key"`
}

type GetUserActivitiesHandler

type GetUserActivitiesHandler struct{}

func NewGetUserActivitiesHandler

func NewGetUserActivitiesHandler() *GetUserActivitiesHandler

func (*GetUserActivitiesHandler) Run

type GetUserActivitiesInputs

type GetUserActivitiesInputs struct {
	*gitlab.GetUserActivitiesOptions
}

type GetUserActivitiesOutputs

type GetUserActivitiesOutputs struct {
	UserActivities []*gitlab.UserActivity `json:"user_activities"`
}

type GetUserAssociationsCountHandler

type GetUserAssociationsCountHandler struct{}

func NewGetUserAssociationsCountHandler

func NewGetUserAssociationsCountHandler() *GetUserAssociationsCountHandler

func (*GetUserAssociationsCountHandler) Run

type GetUserAssociationsCountInputs

type GetUserAssociationsCountInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type GetUserAssociationsCountOutputs

type GetUserAssociationsCountOutputs struct {
	UserAssociationsCount *gitlab.UserAssociationsCount `json:"user_associations_count"`
}

type GetUserHandler

type GetUserHandler struct{}

func NewGetUserHandler

func NewGetUserHandler() *GetUserHandler

func (*GetUserHandler) Run

func (h *GetUserHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type GetUserInputs

type GetUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	gitlab.GetUsersOptions
}

type GetUserMembershipsHandler

type GetUserMembershipsHandler struct{}

func NewGetUserMembershipsHandler

func NewGetUserMembershipsHandler() *GetUserMembershipsHandler

func (*GetUserMembershipsHandler) Run

type GetUserMembershipsInputs

type GetUserMembershipsInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.GetUserMembershipOptions
}

type GetUserMembershipsOutputs

type GetUserMembershipsOutputs struct {
	UserMemberships []*gitlab.UserMembership `json:"user_memberships"`
}

type GetUserOutputs

type GetUserOutputs struct {
	User *gitlab.User `json:"user"`
}

type GetUserStatusHandler

type GetUserStatusHandler struct{}

func NewGetUserStatusHandler

func NewGetUserStatusHandler() *GetUserStatusHandler

func (*GetUserStatusHandler) Run

type GetUserStatusInputs

type GetUserStatusInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type GetUserStatusOutputs

type GetUserStatusOutputs struct {
	UserStatus *gitlab.UserStatus `json:"user_status"`
}

type GitlabUsersBundle

type GitlabUsersBundle struct {
	// contains filtered or unexported fields
}

func (*GitlabUsersBundle) GetAction

func (h *GitlabUsersBundle) GetAction(actionName string) types.Action

type ListEmailsForUserHandler

type ListEmailsForUserHandler struct{}

func NewListEmailsForUserHandler

func NewListEmailsForUserHandler() *ListEmailsForUserHandler

func (*ListEmailsForUserHandler) Run

type ListEmailsForUserInputs

type ListEmailsForUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.ListEmailsForUserOptions
}

type ListEmailsForUserOutputs

type ListEmailsForUserOutputs struct {
	Emails []*gitlab.Email `json:"emails"`
}

type ListEmailsHandler

type ListEmailsHandler struct{}

func NewListEmailsHandler

func NewListEmailsHandler() *ListEmailsHandler

func (*ListEmailsHandler) Run

type ListEmailsInputs

type ListEmailsInputs struct {
	Page    int `json:"page,omitempty"`
	PerPage int `json:"per_page,omitempty"`
}

type ListEmailsOutputs

type ListEmailsOutputs struct {
	Emails []*gitlab.Email `json:"emails"`
}

type ListGPGKeysForUserHandler

type ListGPGKeysForUserHandler struct{}

func NewListGPGKeysForUserHandler

func NewListGPGKeysForUserHandler() *ListGPGKeysForUserHandler

func (*ListGPGKeysForUserHandler) Run

type ListGPGKeysForUserInputs

type ListGPGKeysForUserInputs struct {
	UserId  int64 `json:"user_id,omitempty"`
	Page    int   `json:"page,omitempty"`
	PerPage int   `json:"per_page,omitempty"`
}

type ListGPGKeysForUserOutputs

type ListGPGKeysForUserOutputs struct {
	GpgKeys []*gitlab.GPGKey `json:"gpg_keys"`
}

type ListGPGKeysHandler

type ListGPGKeysHandler struct{}

func NewListGPGKeysHandler

func NewListGPGKeysHandler() *ListGPGKeysHandler

func (*ListGPGKeysHandler) Run

type ListGPGKeysInputs

type ListGPGKeysInputs struct {
	Page    int `json:"page,omitempty"`
	PerPage int `json:"per_page,omitempty"`
}

type ListGPGKeysOutputs

type ListGPGKeysOutputs struct {
	GpgKeys []*gitlab.GPGKey `json:"gpg_keys"`
}

type ListSSHKeysForUserHandler

type ListSSHKeysForUserHandler struct{}

func NewListSSHKeysForUserHandler

func NewListSSHKeysForUserHandler() *ListSSHKeysForUserHandler

func (*ListSSHKeysForUserHandler) Run

type ListSSHKeysForUserInputs

type ListSSHKeysForUserInputs struct {
	UserId support.GitlabID `json:"user_id,omitempty"`
	*gitlab.ListSSHKeysForUserOptions
}

type ListSSHKeysForUserOutputs

type ListSSHKeysForUserOutputs struct {
	SshKeys []*gitlab.SSHKey `json:"ssh_keys"`
}

type ListSSHKeysHandler

type ListSSHKeysHandler struct{}

func NewListSSHKeysHandler

func NewListSSHKeysHandler() *ListSSHKeysHandler

func (*ListSSHKeysHandler) Run

type ListSSHKeysInputs

type ListSSHKeysInputs struct {
	*gitlab.ListSSHKeysOptions
}

type ListSSHKeysOutputs

type ListSSHKeysOutputs struct {
	SshKeys []*gitlab.SSHKey `json:"ssh_keys"`
}

type ListServiceAccountsHandler

type ListServiceAccountsHandler struct{}

func NewListServiceAccountsHandler

func NewListServiceAccountsHandler() *ListServiceAccountsHandler

func (*ListServiceAccountsHandler) Run

type ListServiceAccountsInputs

type ListServiceAccountsInputs struct {
	*gitlab.ListServiceAccountsOptions
}

type ListServiceAccountsOutputs

type ListServiceAccountsOutputs struct {
	ServiceAccounts []*gitlab.ServiceAccount `json:"service_accounts"`
}

type ListUsersHandler

type ListUsersHandler struct{}

func NewListUsersHandler

func NewListUsersHandler() *ListUsersHandler

func (*ListUsersHandler) Run

func (h *ListUsersHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type ListUsersInputs

type ListUsersInputs struct {
	*gitlab.ListUsersOptions
}

type ListUsersOutputs

type ListUsersOutputs struct {
	Users []*gitlab.User `json:"users"`
}

type ModifyUserHandler

type ModifyUserHandler struct{}

func NewModifyUserHandler

func NewModifyUserHandler() *ModifyUserHandler

func (*ModifyUserHandler) Run

type ModifyUserInputs

type ModifyUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
	*gitlab.ModifyUserOptions
}

type ModifyUserOutputs

type ModifyUserOutputs struct {
	User *gitlab.User `json:"user"`
}

type RejectUserHandler

type RejectUserHandler struct{}

func NewRejectUserHandler

func NewRejectUserHandler() *RejectUserHandler

func (*RejectUserHandler) Run

type RejectUserInputs

type RejectUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type RejectUserOutputs

type RejectUserOutputs struct{}

type RevokeImpersonationTokenHandler

type RevokeImpersonationTokenHandler struct{}

func NewRevokeImpersonationTokenHandler

func NewRevokeImpersonationTokenHandler() *RevokeImpersonationTokenHandler

func (*RevokeImpersonationTokenHandler) Run

type RevokeImpersonationTokenInputs

type RevokeImpersonationTokenInputs struct {
	UserId               int64 `json:"user_id,omitempty"`
	ImpersonationTokenId int64 `json:"impersonation_token_id,omitempty"`
}

type RevokeImpersonationTokenOutputs

type RevokeImpersonationTokenOutputs struct{}

type ServiceAccount

type ServiceAccount struct {
	*gitlab.ServiceAccount
	Email string `json:"email"`
}

type SetUserStatusHandler

type SetUserStatusHandler struct{}

func NewSetUserStatusHandler

func NewSetUserStatusHandler() *SetUserStatusHandler

func (*SetUserStatusHandler) Run

type SetUserStatusInputs

type SetUserStatusInputs struct {
	*gitlab.UserStatusOptions
}

type SetUserStatusOutputs

type SetUserStatusOutputs struct {
	UserStatus *gitlab.UserStatus `json:"user_status"`
}

type TestConnectionHandler

type TestConnectionHandler struct {
	// contains filtered or unexported fields
}

func NewTestConnectionHandler

func NewTestConnectionHandler() *TestConnectionHandler

func (*TestConnectionHandler) Run

type TestConnectionInputs

type TestConnectionInputs struct{}

type TestConnectionOutputs

type TestConnectionOutputs = CurrentUserOutputs

type UnbanUserHandler

type UnbanUserHandler struct{}

func NewUnbanUserHandler

func NewUnbanUserHandler() *UnbanUserHandler

func (*UnbanUserHandler) Run

func (h *UnbanUserHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type UnbanUserInputs

type UnbanUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type UnbanUserOutputs

type UnbanUserOutputs struct{}

type UnblockUserHandler

type UnblockUserHandler struct{}

func NewUnblockUserHandler

func NewUnblockUserHandler() *UnblockUserHandler

func (*UnblockUserHandler) Run

type UnblockUserInputs

type UnblockUserInputs struct {
	UserId int64 `json:"user_id,omitempty"`
}

type UnblockUserOutputs

type UnblockUserOutputs struct{}

Jump to

Keyboard shortcuts

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