package
0.46.0
Repository: https://github.com/daytonaio/daytona.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetGitContext godoc @Tags gitProvider @Summary Get Git context @Description Get Git context @Produce json @Param repository body GetRepositoryContext true "Get repository context" @Success 200 {object} GitRepository @Router /gitprovider/context [post] @id GetGitContext.
GetGitProvider godoc @Tags gitProvider @Summary Get Git provider @Description Get Git provider @Produce plain @Param gitProviderId path string true "ID" @Success 200 {object} gitprovider.GitProviderConfig @Router /gitprovider/{gitProviderId} [get] @id GetGitProvider.
GetGitProviderIdForUrl godoc @Tags gitProvider @Summary Get Git provider ID @Description Get Git provider ID @Produce plain @Param url path string true "Url" @Success 200 {string} providerId @Router /gitprovider/id-for-url/{url} [get] @id GetGitProviderIdForUrl.
GetGitUser godoc @Tags gitProvider @Summary Get Git context @Description Get Git context @Produce json @Param gitProviderId path string true "Git Provider Id" @Success 200 {object} GitUser @Router /gitprovider/{gitProviderId}/user [get] @id GetGitUser.
GetNamespaces godoc @Tags gitProvider @Summary Get Git namespaces @Description Get Git namespaces @Param gitProviderId path string true "Git provider" @Param page query int false "Page number" @Param per_page query int false "Number of items per page" @Produce json @Success 200 {array} GitNamespace @Router /gitprovider/{gitProviderId}/namespaces [get] @id GetNamespaces.
GetRepoBranches godoc @Tags gitProvider @Summary Get Git repository branches @Description Get Git repository branches @Param gitProviderId path string true "Git provider" @Param namespaceId path string true "Namespace" @Param repositoryId path string true "Repository" @Param page query int false "Page number" @Param per_page query int false "Number of items per page" @Produce json @Success 200 {array} GitBranch @Router /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/branches [get] @id GetRepoBranches.
GetRepoPRs godoc @Tags gitProvider @Summary Get Git repository PRs @Description Get Git repository PRs @Param gitProviderId path string true "Git provider" @Param namespaceId path string true "Namespace" @Param repositoryId path string true "Repository" @Param page query int false "Page number" @Param per_page query int false "Number of items per page" @Produce json @Success 200 {array} GitPullRequest @Router /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/pull-requests [get] @id GetRepoPRs.
GetRepositories godoc @Tags gitProvider @Summary Get Git repositories @Description Get Git repositories @Param gitProviderId path string true "Git provider" @Param namespaceId path string true "Namespace" @Param page query int false "Page number" @Param per_page query int false "Number of items per page" @Produce json @Success 200 {array} GitRepository @Router /gitprovider/{gitProviderId}/{namespaceId}/repositories [get] @id GetRepositories.
GetUrlFromRepository godoc @Tags gitProvider @Summary Get URL from Git repository @Description Get URL from Git repository @Produce json @Param repository body GitRepository true "Git repository" @Success 200 {object} RepositoryUrl @Router /gitprovider/context/url [post] @id GetUrlFromRepository.
ListGitProviders godoc @Tags gitProvider @Summary List Git providers @Description List Git providers @Produce json @Success 200 {array} gitprovider.GitProviderConfig @Router /gitprovider [get] @id ListGitProviders.
ListGitProvidersForUrl godoc @Tags gitProvider @Summary List Git providers for url @Description List Git providers for url @Produce json @Param url path string true "Url" @Success 200 {array} gitprovider.GitProviderConfig @Router /gitprovider/for-url/{url} [get] @id ListGitProvidersForUrl.
RemoveGitProvider godoc @Tags gitProvider @Summary Remove Git provider @Description Remove Git provider @Param gitProviderId path string true "Git provider" @Produce json @Success 200 @Router /gitprovider/{gitProviderId} [delete] @id RemoveGitProvider.
SetGitProvider godoc @Tags gitProvider @Summary Set Git provider @Description Set Git provider @Param gitProviderConfig body SetGitProviderConfig true "Git provider" @Produce json @Success 200 @Router /gitprovider [put] @id SetGitProvider.