Versions in this module Expand all Collapse all v0 v0.1.0 Dec 18, 2023 Changes in this version + const ProjectAdmin + const ProjectRead + const ProjectWrite + const RepoAdmin + const RepoCreate + const RepoRead + const RepoWrite + func NewBitbucket(ctx context.Context, logger *slog.Logger) (*bitbucket, error) + func NewGitea(ctx context.Context, logger *slog.Logger) (*gitea, error) + func NewMigration(ctx context.Context, opts Option) (*migration, error) + type CreateNewOrgOption struct + Description string + Name string + Permission map[string][]string + Public bool + type CreateOrgOption struct + Description string + Name string + Visibility bool + type CreateUserOption struct + Email string + FullName string + LoginName string + SourceID int64 + Username string + type MigrateNewRepoOption struct + CloneAddr string + Description string + Name string + Owner string + Permission map[string][]string + Private bool + type MigrateRepoOption struct + AuthPassword string + AuthUsername string + CloneAddr string + Description string + Private bool + RepoName string + RepoOwner string + type Option struct + Debug bool + type ProjectResponse struct + Permission map[string][]string + Project bitbucketv1.Project + type RepositoryResponse struct + Permission map[string][]string + Repository bitbucketv1.Repository