Documentation ¶
Index ¶
- type AddDeployKeyRequest
- type AddDeployKeyRequestBody
- type AddDeployKeyResponse
- type AddDeployKeyV2Request
- type AddDeployKeyV2Response
- type AddHooksRequest
- type AddHooksResponse
- type AddRepoMembersRequest
- type AddRepoMembersResponse
- type AddSshKeyRequest
- type AddSshKeyRequestBody
- type AddSshKeyResponse
- type Branch
- type BranchList
- type Commit
- type CommitAction
- type CommitInfo
- type CommitList
- type CommitStatistic
- type CreateCommitRequest
- type CreateCommitRequestBody
- type CreateCommitResponse
- type CreateCommitResponseBody
- type CreateCommitResponseBodyStats
- type CreateProjectAndRepositoriesRequest
- type CreateProjectAndRepositoriesResponse
- type CreateProjectAndforkRepositoriesRequest
- type CreateProjectAndforkRepositoriesResponse
- type CreateProjectRepoRequest
- type CreateRepoMemberRequest
- type CreateRepoMemberResult
- type CreateRepoRequest
- type CreateRepositoryRequest
- type CreateRepositoryResponse
- type DeleteDeployKeyRequest
- type DeleteDeployKeyResponse
- type DeleteDeployKeyV2Request
- type DeleteDeployKeyV2Response
- type DeleteHooksRequest
- type DeleteHooksResponse
- type DeleteRepoMemberRequest
- type DeleteRepoMemberResponse
- type DeleteRepositoryRequest
- type DeleteRepositoryResponse
- type DeleteSShkeyRequest
- type DeleteSShkeyResponse
- type DevstarRepoInfo
- type DiffCommitInfo
- type Empty
- type Error
- type ExternalKeyMessage
- type FileContentInfo
- type FilesResponseInfo
- type ForkProjectRepoRequest
- type GetAllRepositoryByProjectIdRequest
- type GetAllRepositoryByProjectIdResponse
- type GetProductTemplatesRequest
- type GetProductTemplatesResponse
- type GetRepositoryByProjectIdRequest
- type GetRepositoryByProjectIdResponse
- type GetTemplatesRequest
- type GetTemplatesResponse
- type Key
- type ListCommitStatisticsRequest
- type ListCommitStatisticsResponse
- type ListCommitsRequest
- type ListCommitsResponse
- type ListFilesRequest
- type ListFilesResponse
- type ListHooksRequest
- type ListHooksResponse
- type ListProductTwoTemplatesRequest
- type ListProductTwoTemplatesResponse
- type ListRepoMembersRequest
- type ListRepoMembersResponse
- type ListRepositoryStatusRequest
- type ListRepositoryStatusResponse
- type ListSshKeysRequest
- type ListSshKeysResponse
- type ListSubfilesRequest
- type ListSubfilesResponse
- type ListTemplatesTwoRequest
- type ListTemplatesTwoResponse
- type ListTwoTemplatesRequest
- type ListTwoTemplatesResponse
- type ListUserAllRepositoriesRequest
- type ListUserAllRepositoriesResponse
- type LogsTree
- type PasswordRequest
- type PrivateKeyVerify
- type ProjectRepository
- type PublicKey
- type PublicKeyList
- type RepoCommitStatistics
- type RepoDailyCodeline
- type RepoHook
- type RepoInfo
- type RepoInfoV2
- type RepoListHook
- type RepoListInfo
- type RepoListInfoV2
- type RepoMemberInfo
- type RepoStatistics
- type RepoStatisticsEvent
- type RepoStatisticsLaunch
- type Repository
- type RepositoryHookRequest
- type RepositoryMember
- type RepositoryMemberList
- type RepositoryTemplateVo
- type RepositoryTemplateVo2
- type SetRepoRoleRequest
- type SetRepoRoleRequestBody
- type SetRepoRoleRequestBodyRole
- type SetRepoRoleRequestBodyRoleEnum
- type SetRepoRoleResponse
- type ShareTemplatesRequest
- type ShareTemplatesResponse
- type ShowAllRepositoryByTwoProjectIdRequest
- type ShowAllRepositoryByTwoProjectIdResponse
- type ShowBranchesByRepositoryIdRequest
- type ShowBranchesByRepositoryIdResponse
- type ShowBranchesByTwoRepositoryIdRequest
- type ShowBranchesByTwoRepositoryIdResponse
- type ShowCommitsByBranchRequest
- type ShowCommitsByBranchResponse
- type ShowCommitsByRepoIdRequest
- type ShowCommitsByRepoIdResponse
- type ShowDiffCommitRequest
- type ShowDiffCommitResponse
- type ShowFileRequest
- type ShowFileResponse
- type ShowHasPipelineRequest
- type ShowHasPipelineResponse
- type ShowImageBlobRequest
- type ShowImageBlobResponse
- type ShowMasterRequest
- type ShowMasterResponse
- type ShowPrivateKeyVerifyRequest
- type ShowPrivateKeyVerifyResponse
- type ShowRepoIdRequest
- type ShowRepoIdResponse
- type ShowRepositoryArchiveRequest
- type ShowRepositoryArchiveResponse
- type ShowRepositoryByUuidRequest
- type ShowRepositoryByUuidResponse
- type ShowRepositoryNameExistRequest
- type ShowRepositoryNameExistResponse
- type ShowRepositoryStatisticsRequest
- type ShowRepositoryStatisticsRequestBody
- type ShowRepositoryStatisticsResponse
- type ShowSingleCommitRequest
- type ShowSingleCommitResponse
- type ShowStatisticCommitRequest
- type ShowStatisticCommitResponse
- type ShowStatisticalDataRequest
- type ShowStatisticalDataResponse
- type SpecificCommitInfo
- type SpecificCommitInfoLastPipeline
- type SpecificCommitInfoStats
- type Tag
- type TagList
- type TemplateListInfo
- type TemplateRepository
- type TemplateRepositoryList
- type ValidateHttpsInfoRequest
- type ValidateHttpsInfoResponse
- type ValidateHttpsInfoV2Request
- type ValidateHttpsInfoV2Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDeployKeyRequest ¶
type AddDeployKeyRequest struct { RepositoryId int32 `json:"repository_id"` Body *AddDeployKeyRequestBody `json:"body,omitempty"` }
Request Object
func (AddDeployKeyRequest) String ¶
func (o AddDeployKeyRequest) String() string
type AddDeployKeyRequestBody ¶
type AddDeployKeyRequestBody struct { Application string `json:"application"` CanPush bool `json:"can_push"` Key string `json:"key"` KeyTitle string `json:"key_title"` }
func (AddDeployKeyRequestBody) String ¶
func (o AddDeployKeyRequestBody) String() string
type AddDeployKeyResponse ¶
type AddDeployKeyResponse struct { Error *Error `json:"error,omitempty"` Result *Key `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddDeployKeyResponse) String ¶
func (o AddDeployKeyResponse) String() string
type AddDeployKeyV2Request ¶
type AddDeployKeyV2Request struct { RepositoryId int32 `json:"repository_id"` Body *AddDeployKeyRequestBody `json:"body,omitempty"` }
Request Object
func (AddDeployKeyV2Request) String ¶
func (o AddDeployKeyV2Request) String() string
type AddDeployKeyV2Response ¶
type AddDeployKeyV2Response struct { Error *Error `json:"error,omitempty"` Result *Key `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddDeployKeyV2Response) String ¶
func (o AddDeployKeyV2Response) String() string
type AddHooksRequest ¶
type AddHooksRequest struct { GroupName string `json:"group_name"` RepositoryName string `json:"repository_name"` Body *RepositoryHookRequest `json:"body,omitempty"` }
Request Object
func (AddHooksRequest) String ¶
func (o AddHooksRequest) String() string
type AddHooksResponse ¶
type AddHooksResponse struct { Error *Error `json:"error,omitempty"` Result *RepoHook `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddHooksResponse) String ¶
func (o AddHooksResponse) String() string
type AddRepoMembersRequest ¶
type AddRepoMembersRequest struct { RepositoryUuid string `json:"repository_uuid"` Body *CreateRepoMemberRequest `json:"body,omitempty"` }
Request Object
func (AddRepoMembersRequest) String ¶
func (o AddRepoMembersRequest) String() string
type AddRepoMembersResponse ¶
type AddRepoMembersResponse struct { Error *Error `json:"error,omitempty"` Result *[]CreateRepoMemberResult `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddRepoMembersResponse) String ¶
func (o AddRepoMembersResponse) String() string
type AddSshKeyRequest ¶
type AddSshKeyRequest struct {
Body *AddSshKeyRequestBody `json:"body,omitempty"`
}
Request Object
func (AddSshKeyRequest) String ¶
func (o AddSshKeyRequest) String() string
type AddSshKeyRequestBody ¶
func (AddSshKeyRequestBody) String ¶
func (o AddSshKeyRequestBody) String() string
type AddSshKeyResponse ¶
type AddSshKeyResponse struct { Error *Error `json:"error,omitempty"` Result *PublicKey `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddSshKeyResponse) String ¶
func (o AddSshKeyResponse) String() string
type Branch ¶
type BranchList ¶
type BranchList struct { Branches *[]Branch `json:"branches,omitempty"` Total *int32 `json:"total,omitempty"` }
func (BranchList) String ¶
func (o BranchList) String() string
type Commit ¶
type Commit struct { AuthorEmail *string `json:"author_email,omitempty"` AuthorName *string `json:"author_name,omitempty"` AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"` CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"` CommitterEmail *string `json:"committer_email,omitempty"` CommitterName *string `json:"committer_name,omitempty"` Format *interface{} `json:"format,omitempty"` Id *string `json:"id,omitempty"` Message *string `json:"message,omitempty"` ParentIds *[]string `json:"parent_ids,omitempty"` }
type CommitAction ¶
type CommitAction struct { Action string `json:"action"` FilePath string `json:"file_path"` PreviousPath *string `json:"previous_path,omitempty"` Content *string `json:"content,omitempty"` Encoding *string `json:"encoding,omitempty"` LastCommitId *string `json:"last_commit_id,omitempty"` ExecuteFilemode *bool `json:"execute_filemode,omitempty"` }
func (CommitAction) String ¶
func (o CommitAction) String() string
type CommitInfo ¶
type CommitInfo struct { Id *string `json:"id,omitempty"` ShortId *string `json:"short_id,omitempty"` Title *string `json:"title,omitempty"` AuthorName *string `json:"author_name,omitempty"` AuthorEmail *string `json:"author_email,omitempty"` CommitterName *string `json:"committer_name,omitempty"` CommitterEmail *string `json:"committer_email,omitempty"` CreatedAt *string `json:"created_at,omitempty"` Message *string `json:"message,omitempty"` ParentIds *[]string `json:"parent_ids,omitempty"` CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"` AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"` }
func (CommitInfo) String ¶
func (o CommitInfo) String() string
type CommitList ¶
type CommitList struct { Commits *[]Commit `json:"commits,omitempty"` Total *int32 `json:"total,omitempty"` }
func (CommitList) String ¶
func (o CommitList) String() string
type CommitStatistic ¶
type CommitStatistic struct { Additions *int32 `json:"additions,omitempty"` Deletions *int32 `json:"deletions,omitempty"` }
func (CommitStatistic) String ¶
func (o CommitStatistic) String() string
type CreateCommitRequest ¶
type CreateCommitRequest struct { RepoId int32 `json:"repo_id"` Body *CreateCommitRequestBody `json:"body,omitempty"` }
Request Object
func (CreateCommitRequest) String ¶
func (o CreateCommitRequest) String() string
type CreateCommitRequestBody ¶
type CreateCommitRequestBody struct { Branch string `json:"branch"` CommitMessage string `json:"commit_message"` StartBranch *string `json:"start_branch,omitempty"` Actions []CommitAction `json:"actions"` AuthorEmail *string `json:"author_email,omitempty"` AuthorName *string `json:"author_name,omitempty"` Stats *bool `json:"stats,omitempty"` Force *string `json:"force,omitempty"` }
func (CreateCommitRequestBody) String ¶
func (o CreateCommitRequestBody) String() string
type CreateCommitResponse ¶
type CreateCommitResponse struct { Error *Error `json:"error,omitempty"` Result *[]CreateCommitResponseBody `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCommitResponse) String ¶
func (o CreateCommitResponse) String() string
type CreateCommitResponseBody ¶
type CreateCommitResponseBody struct { Id *string `json:"id,omitempty"` ShortId *string `json:"short_id,omitempty"` Title *string `json:"title,omitempty"` AuthorName *string `json:"author_name,omitempty"` AuthorEmail *string `json:"author_email,omitempty"` CommitterName *string `json:"committer_name,omitempty"` CommitterEmail *string `json:"committer_email,omitempty"` CreatedAt *string `json:"created_at,omitempty"` Message *string `json:"message,omitempty"` ParentIds *[]string `json:"parent_ids,omitempty"` CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"` AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"` Stats *CreateCommitResponseBodyStats `json:"stats,omitempty"` }
func (CreateCommitResponseBody) String ¶
func (o CreateCommitResponseBody) String() string
type CreateCommitResponseBodyStats ¶
type CreateCommitResponseBodyStats struct { Additions *int32 `json:"additions,omitempty"` Deletions *int32 `json:"deletions,omitempty"` Total *int32 `json:"total,omitempty"` }
统计信息
func (CreateCommitResponseBodyStats) String ¶
func (o CreateCommitResponseBodyStats) String() string
type CreateProjectAndRepositoriesRequest ¶
type CreateProjectAndRepositoriesRequest struct {
Body *CreateProjectRepoRequest `json:"body,omitempty"`
}
Request Object
func (CreateProjectAndRepositoriesRequest) String ¶
func (o CreateProjectAndRepositoriesRequest) String() string
type CreateProjectAndRepositoriesResponse ¶
type CreateProjectAndRepositoriesResponse struct { Error *Error `json:"error,omitempty"` Result *ProjectRepository `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectAndRepositoriesResponse) String ¶
func (o CreateProjectAndRepositoriesResponse) String() string
type CreateProjectAndforkRepositoriesRequest ¶
type CreateProjectAndforkRepositoriesRequest struct {
Body *ForkProjectRepoRequest `json:"body,omitempty"`
}
Request Object
func (CreateProjectAndforkRepositoriesRequest) String ¶
func (o CreateProjectAndforkRepositoriesRequest) String() string
type CreateProjectAndforkRepositoriesResponse ¶
type CreateProjectAndforkRepositoriesResponse struct { Error *Error `json:"error,omitempty"` Result *ProjectRepository `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectAndforkRepositoriesResponse) String ¶
func (o CreateProjectAndforkRepositoriesResponse) String() string
type CreateProjectRepoRequest ¶
type CreateProjectRepoRequest struct { ImportMembers *int32 `json:"import_members,omitempty"` ProjectName string `json:"project_name"` RepoName string `json:"repo_name"` Type *string `json:"type,omitempty"` VisibilityLevel *int32 `json:"visibility_level,omitempty"` ExternalProjectInfo *ExternalKeyMessage `json:"external_project_info,omitempty"` }
func (CreateProjectRepoRequest) String ¶
func (o CreateProjectRepoRequest) String() string
type CreateRepoMemberRequest ¶
type CreateRepoMemberRequest struct {
Users *[]RepoMemberInfo `json:"users,omitempty"`
}
func (CreateRepoMemberRequest) String ¶
func (o CreateRepoMemberRequest) String() string
type CreateRepoMemberResult ¶
type CreateRepoMemberResult struct { Id *string `json:"id,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` }
func (CreateRepoMemberResult) String ¶
func (o CreateRepoMemberResult) String() string
type CreateRepoRequest ¶
type CreateRepoRequest struct { ImportMembers *int32 `json:"import_members,omitempty"` Name string `json:"name"` ProjectUuid string `json:"project_uuid"` TemplateId *string `json:"template_id,omitempty"` VisibilityLevel *int32 `json:"visibility_level,omitempty"` ImportUrl *string `json:"import_url,omitempty"` Description *string `json:"description,omitempty"` GitignoreId *string `json:"gitignore_id,omitempty"` LicenseId *int32 `json:"license_id,omitempty"` EnableReadme *int32 `json:"enable_readme,omitempty"` Caller *string `json:"caller,omitempty"` }
func (CreateRepoRequest) String ¶
func (o CreateRepoRequest) String() string
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct {
Body *CreateRepoRequest `json:"body,omitempty"`
}
Request Object
func (CreateRepositoryRequest) String ¶
func (o CreateRepositoryRequest) String() string
type CreateRepositoryResponse ¶
type CreateRepositoryResponse struct { Error *Error `json:"error,omitempty"` Result *Repository `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRepositoryResponse) String ¶
func (o CreateRepositoryResponse) String() string
type DeleteDeployKeyRequest ¶
type DeleteDeployKeyRequest struct { KeyId int32 `json:"key_id"` RepositoryId int32 `json:"repository_id"` }
Request Object
func (DeleteDeployKeyRequest) String ¶
func (o DeleteDeployKeyRequest) String() string
type DeleteDeployKeyResponse ¶
type DeleteDeployKeyResponse struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDeployKeyResponse) String ¶
func (o DeleteDeployKeyResponse) String() string
type DeleteDeployKeyV2Request ¶
type DeleteDeployKeyV2Request struct { KeyId int32 `json:"key_id"` RepositoryId int32 `json:"repository_id"` }
Request Object
func (DeleteDeployKeyV2Request) String ¶
func (o DeleteDeployKeyV2Request) String() string
type DeleteDeployKeyV2Response ¶
type DeleteDeployKeyV2Response struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDeployKeyV2Response) String ¶
func (o DeleteDeployKeyV2Response) String() string
type DeleteHooksRequest ¶
type DeleteHooksRequest struct { GroupName string `json:"group_name"` HookId int32 `json:"hook_id"` RepositoryName string `json:"repository_name"` }
Request Object
func (DeleteHooksRequest) String ¶
func (o DeleteHooksRequest) String() string
type DeleteHooksResponse ¶
type DeleteHooksResponse struct { Error *Error `json:"error,omitempty"` Result *interface{} `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteHooksResponse) String ¶
func (o DeleteHooksResponse) String() string
type DeleteRepoMemberRequest ¶
type DeleteRepoMemberRequest struct { MemberId string `json:"member_id"` RepositoryUuid string `json:"repository_uuid"` }
Request Object
func (DeleteRepoMemberRequest) String ¶
func (o DeleteRepoMemberRequest) String() string
type DeleteRepoMemberResponse ¶
type DeleteRepoMemberResponse struct { Error *Error `json:"error,omitempty"` Result *Empty `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteRepoMemberResponse) String ¶
func (o DeleteRepoMemberResponse) String() string
type DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (DeleteRepositoryRequest) String ¶
func (o DeleteRepositoryRequest) String() string
type DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteRepositoryResponse) String ¶
func (o DeleteRepositoryResponse) String() string
type DeleteSShkeyRequest ¶
type DeleteSShkeyRequest struct {
Id string `json:"id"`
}
Request Object
func (DeleteSShkeyRequest) String ¶
func (o DeleteSShkeyRequest) String() string
type DeleteSShkeyResponse ¶
type DeleteSShkeyResponse struct { Error *Error `json:"error,omitempty"` Result *string `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteSShkeyResponse) String ¶
func (o DeleteSShkeyResponse) String() string
type DevstarRepoInfo ¶
type DevstarRepoInfo struct { Uuid *string `json:"uuid,omitempty"` RepoId *string `json:"repo_id,omitempty"` RepoName *string `json:"repo_name,omitempty"` SshUrl *string `json:"ssh_url,omitempty"` CodeUrl *string `json:"code_url,omitempty"` DetailUrl *string `json:"detail_url,omitempty"` }
func (DevstarRepoInfo) String ¶
func (o DevstarRepoInfo) String() string
type DiffCommitInfo ¶
type DiffCommitInfo struct { OldPath *string `json:"old_path,omitempty"` NewPath *string `json:"new_path,omitempty"` AMode *string `json:"a_mode,omitempty"` BMode *string `json:"b_mode,omitempty"` NewFile *bool `json:"new_file,omitempty"` RenamedFile *bool `json:"renamed_file,omitempty"` DeletedFile *bool `json:"deleted_file,omitempty"` Diff *bool `json:"diff,omitempty"` }
func (DiffCommitInfo) String ¶
func (o DiffCommitInfo) String() string
type Error ¶
type ExternalKeyMessage ¶
type ExternalKeyMessage struct { ExternalKeyMessage *string `json:"external_key_message,omitempty"` ExternalService *string `json:"external_service,omitempty"` }
func (ExternalKeyMessage) String ¶
func (o ExternalKeyMessage) String() string
type FileContentInfo ¶
type FileContentInfo struct { FileName *string `json:"file_name,omitempty"` FilePath *string `json:"file_path,omitempty"` Size *int32 `json:"size,omitempty"` Encoding *string `json:"encoding,omitempty"` ContentSha256 *string `json:"content_sha256,omitempty"` Ref *string `json:"ref,omitempty"` BlobId *string `json:"blob_id,omitempty"` CommitId *string `json:"commit_id,omitempty"` LastCommitId *string `json:"last_commit_id,omitempty"` Content *string `json:"content,omitempty"` }
func (FileContentInfo) String ¶
func (o FileContentInfo) String() string
type FilesResponseInfo ¶
type FilesResponseInfo struct { FileName *string `json:"file_name,omitempty"` FilePath *string `json:"file_path,omitempty"` Size *string `json:"size,omitempty"` Encoding *string `json:"encoding,omitempty"` Ref *string `json:"ref,omitempty"` BlobId *string `json:"blob_id,omitempty"` FileType *string `json:"file_type,omitempty"` Content *string `json:"content,omitempty"` }
func (FilesResponseInfo) String ¶
func (o FilesResponseInfo) String() string
type ForkProjectRepoRequest ¶
type ForkProjectRepoRequest struct { ImportMembers *int32 `json:"import_members,omitempty"` ProjectName string `json:"project_name"` RepoName string `json:"repo_name"` TemplateId string `json:"template_id"` Type *string `json:"type,omitempty"` VisibilityLevel *int32 `json:"visibility_level,omitempty"` ExternalProjectInfo *ExternalKeyMessage `json:"external_project_info,omitempty"` }
func (ForkProjectRepoRequest) String ¶
func (o ForkProjectRepoRequest) String() string
type GetAllRepositoryByProjectIdRequest ¶
type GetAllRepositoryByProjectIdRequest struct { PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` ProjectUuid string `json:"project_uuid"` Search *string `json:"search,omitempty"` }
Request Object
func (GetAllRepositoryByProjectIdRequest) String ¶
func (o GetAllRepositoryByProjectIdRequest) String() string
type GetAllRepositoryByProjectIdResponse ¶
type GetAllRepositoryByProjectIdResponse struct { Error *Error `json:"error,omitempty"` Result *RepoListInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (GetAllRepositoryByProjectIdResponse) String ¶
func (o GetAllRepositoryByProjectIdResponse) String() string
type GetProductTemplatesRequest ¶
type GetProductTemplatesRequest struct { ProjectUuid string `json:"project_uuid"` PageNo *int32 `json:"page_no,omitempty"` PageSize *int32 `json:"page_size,omitempty"` }
Request Object
func (GetProductTemplatesRequest) String ¶
func (o GetProductTemplatesRequest) String() string
type GetProductTemplatesResponse ¶
type GetProductTemplatesResponse struct { Error *Error `json:"error,omitempty"` Result *TemplateListInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (GetProductTemplatesResponse) String ¶
func (o GetProductTemplatesResponse) String() string
type GetRepositoryByProjectIdRequest ¶
type GetRepositoryByProjectIdRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (GetRepositoryByProjectIdRequest) String ¶
func (o GetRepositoryByProjectIdRequest) String() string
type GetRepositoryByProjectIdResponse ¶
type GetRepositoryByProjectIdResponse struct { Error *Error `json:"error,omitempty"` Result *RepoInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (GetRepositoryByProjectIdResponse) String ¶
func (o GetRepositoryByProjectIdResponse) String() string
type GetTemplatesRequest ¶
type GetTemplatesRequest struct { Platform *string `json:"platform,omitempty"` Language *string `json:"language,omitempty"` Pipeline *string `json:"pipeline,omitempty"` Entertype *string `json:"entertype,omitempty"` Search *string `json:"search,omitempty"` Dateorder *string `json:"dateorder,omitempty"` Usedtimeorder *string `json:"usedtimeorder,omitempty"` Type *string `json:"type,omitempty"` Region *string `json:"region,omitempty"` PageNo int32 `json:"page_no"` PageSize int32 `json:"page_size"` }
Request Object
func (GetTemplatesRequest) String ¶
func (o GetTemplatesRequest) String() string
type GetTemplatesResponse ¶
type GetTemplatesResponse struct { Error *Error `json:"error,omitempty"` Result *TemplateRepositoryList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (GetTemplatesResponse) String ¶
func (o GetTemplatesResponse) String() string
type Key ¶
type ListCommitStatisticsRequest ¶
type ListCommitStatisticsRequest struct { BranchName string `json:"branch_name"` RepositoryId string `json:"repository_id"` }
Request Object
func (ListCommitStatisticsRequest) String ¶
func (o ListCommitStatisticsRequest) String() string
type ListCommitStatisticsResponse ¶
type ListCommitStatisticsResponse struct { Error *Error `json:"error,omitempty"` Result *RepoCommitStatistics `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCommitStatisticsResponse) String ¶
func (o ListCommitStatisticsResponse) String() string
type ListCommitsRequest ¶
type ListCommitsRequest struct { RepoId int32 `json:"repo_id"` RefName *string `json:"ref_name,omitempty"` Since *string `json:"since,omitempty"` Until *string `json:"until,omitempty"` Path *string `json:"path,omitempty"` All *bool `json:"all,omitempty"` WithStats *bool `json:"with_stats,omitempty"` }
Request Object
func (ListCommitsRequest) String ¶
func (o ListCommitsRequest) String() string
type ListCommitsResponse ¶
type ListCommitsResponse struct { Error *Error `json:"error,omitempty"` Result *[]CommitInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCommitsResponse) String ¶
func (o ListCommitsResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct { RepositoryUuid string `json:"repository_uuid"` BranchName string `json:"branch_name"` Path string `json:"path"` }
Request Object
func (ListFilesRequest) String ¶
func (o ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct { Error *Error `json:"error,omitempty"` Result *FilesResponseInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFilesResponse) String ¶
func (o ListFilesResponse) String() string
type ListHooksRequest ¶
type ListHooksRequest struct { GroupName string `json:"group_name"` HookId *string `json:"hook_id,omitempty"` RepositoryName string `json:"repository_name"` }
Request Object
func (ListHooksRequest) String ¶
func (o ListHooksRequest) String() string
type ListHooksResponse ¶
type ListHooksResponse struct { Error *Error `json:"error,omitempty"` Result *RepoListHook `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListHooksResponse) String ¶
func (o ListHooksResponse) String() string
type ListProductTwoTemplatesRequest ¶
type ListProductTwoTemplatesRequest struct { ProjectUuid string `json:"project_uuid"` PageNo *int32 `json:"page_no,omitempty"` PageSize *int32 `json:"page_size,omitempty"` }
Request Object
func (ListProductTwoTemplatesRequest) String ¶
func (o ListProductTwoTemplatesRequest) String() string
type ListProductTwoTemplatesResponse ¶
type ListProductTwoTemplatesResponse struct { Error *Error `json:"error,omitempty"` Result *TemplateListInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProductTwoTemplatesResponse) String ¶
func (o ListProductTwoTemplatesResponse) String() string
type ListRepoMembersRequest ¶
type ListRepoMembersRequest struct { PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` RepositoryUuid string `json:"repository_uuid"` Subject *string `json:"subject,omitempty"` }
Request Object
func (ListRepoMembersRequest) String ¶
func (o ListRepoMembersRequest) String() string
type ListRepoMembersResponse ¶
type ListRepoMembersResponse struct { Error *Error `json:"error,omitempty"` Result *RepositoryMemberList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRepoMembersResponse) String ¶
func (o ListRepoMembersResponse) String() string
type ListRepositoryStatusRequest ¶
type ListRepositoryStatusRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (ListRepositoryStatusRequest) String ¶
func (o ListRepositoryStatusRequest) String() string
type ListRepositoryStatusResponse ¶
type ListRepositoryStatusResponse struct { Error *Error `json:"error,omitempty"` Result *int32 `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRepositoryStatusResponse) String ¶
func (o ListRepositoryStatusResponse) String() string
type ListSshKeysRequest ¶
type ListSshKeysRequest struct { }
Request Object
func (ListSshKeysRequest) String ¶
func (o ListSshKeysRequest) String() string
type ListSshKeysResponse ¶
type ListSshKeysResponse struct { Error *Error `json:"error,omitempty"` Result *PublicKeyList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSshKeysResponse) String ¶
func (o ListSshKeysResponse) String() string
type ListSubfilesRequest ¶
type ListSubfilesRequest struct { RepositoryUuid string `json:"repository_uuid"` BranchName string `json:"branch_name"` Path *string `json:"path,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListSubfilesRequest) String ¶
func (o ListSubfilesRequest) String() string
type ListSubfilesResponse ¶
type ListSubfilesResponse struct { Trees *[]LogsTree `json:"trees,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSubfilesResponse) String ¶
func (o ListSubfilesResponse) String() string
type ListTemplatesTwoRequest ¶
type ListTemplatesTwoRequest struct { RepositoryUuid string `json:"repository_uuid"` Body *RepositoryTemplateVo2 `json:"body,omitempty"` }
Request Object
func (ListTemplatesTwoRequest) String ¶
func (o ListTemplatesTwoRequest) String() string
type ListTemplatesTwoResponse ¶
type ListTemplatesTwoResponse struct { Error *Error `json:"error,omitempty"` Result *string `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTemplatesTwoResponse) String ¶
func (o ListTemplatesTwoResponse) String() string
type ListTwoTemplatesRequest ¶
type ListTwoTemplatesRequest struct { Platform *string `json:"platform,omitempty"` Language *string `json:"language,omitempty"` Pipeline *string `json:"pipeline,omitempty"` EnterType *string `json:"enter_type,omitempty"` Search *string `json:"search,omitempty"` DateOrder *string `json:"date_order,omitempty"` UsedTimeOrder *string `json:"used_time_order,omitempty"` Type *string `json:"type,omitempty"` Region *string `json:"region,omitempty"` PageNo int32 `json:"page_no"` PageSize int32 `json:"page_size"` }
Request Object
func (ListTwoTemplatesRequest) String ¶
func (o ListTwoTemplatesRequest) String() string
type ListTwoTemplatesResponse ¶
type ListTwoTemplatesResponse struct { Error *Error `json:"error,omitempty"` Result *TemplateRepositoryList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTwoTemplatesResponse) String ¶
func (o ListTwoTemplatesResponse) String() string
type ListUserAllRepositoriesRequest ¶
type ListUserAllRepositoriesRequest struct { PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` Search *string `json:"search,omitempty"` }
Request Object
func (ListUserAllRepositoriesRequest) String ¶
func (o ListUserAllRepositoriesRequest) String() string
type ListUserAllRepositoriesResponse ¶
type ListUserAllRepositoriesResponse struct { Error *Error `json:"error,omitempty"` Result *RepoListInfoV2 `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListUserAllRepositoriesResponse) String ¶
func (o ListUserAllRepositoriesResponse) String() string
type LogsTree ¶
type PasswordRequest ¶
type PasswordRequest struct {
Pwd string `json:"pwd"`
}
func (PasswordRequest) String ¶
func (o PasswordRequest) String() string
type PrivateKeyVerify ¶
type PrivateKeyVerify struct { RepositoryUuid string `json:"repository_uuid"` PrivateKey string `json:"private_key"` }
func (PrivateKeyVerify) String ¶
func (o PrivateKeyVerify) String() string
type ProjectRepository ¶
type ProjectRepository struct { ProjectUuid *string `json:"projectUuid,omitempty"` RepositoryUuid *string `json:"repositoryUuid,omitempty"` }
func (ProjectRepository) String ¶
func (o ProjectRepository) String() string
type PublicKeyList ¶
type PublicKeyList struct { Sshkey *[]PublicKey `json:"sshkey,omitempty"` Total *int32 `json:"total,omitempty"` }
func (PublicKeyList) String ¶
func (o PublicKeyList) String() string
type RepoCommitStatistics ¶
type RepoCommitStatistics struct { AllBranchCommitsCount *int32 `json:"all_branch_commits_count,omitempty"` Codelines *[]RepoDailyCodeline `json:"codelines,omitempty"` Count *int32 `json:"count,omitempty"` Event *RepoStatisticsEvent `json:"event,omitempty"` Statistics *[]RepoStatistics `json:"statistics,omitempty"` Total *int32 `json:"total,omitempty"` }
仓库统计信息
func (RepoCommitStatistics) String ¶
func (o RepoCommitStatistics) String() string
type RepoDailyCodeline ¶
type RepoDailyCodeline struct { Additions *int32 `json:"additions,omitempty"` Date *string `json:"date,omitempty"` Deletions *int32 `json:"deletions,omitempty"` }
func (RepoDailyCodeline) String ¶
func (o RepoDailyCodeline) String() string
type RepoHook ¶
type RepoHook struct { BuildEvents *bool `json:"build_events,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` EnableSslVerification *bool `json:"enable_ssl_verification,omitempty"` Id *int32 `json:"id,omitempty"` IssuesEvents *bool `json:"issues_events,omitempty"` MergeRequestsEvents *bool `json:"merge_requests_events,omitempty"` NoteEvents *bool `json:"note_events,omitempty"` PipelineEvents *bool `json:"pipeline_events,omitempty"` ProjectId *int32 `json:"project_id,omitempty"` PushEvents *bool `json:"push_events,omitempty"` RepositoryUpdateEvents *bool `json:"repository_update_events,omitempty"` TagPushEvents *bool `json:"tag_push_events,omitempty"` WikiPageEvents *bool `json:"wiki_page_events,omitempty"` }
type RepoInfo ¶
type RepoInfo struct { CreateAt *string `json:"createAt,omitempty"` GroupName *string `json:"groupName,omitempty"` HttpUrl *string `json:"httpUrl,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` ProjectId *string `json:"projectId,omitempty"` ProjectIsDelete *string `json:"projectIsDelete,omitempty"` RepoId *string `json:"repoId,omitempty"` SshUrl *string `json:"sshUrl,omitempty"` VisibilityLevel *int32 `json:"visibilityLevel,omitempty"` WebUrl *string `json:"webUrl,omitempty"` }
type RepoInfoV2 ¶
type RepoInfoV2 struct { CreatedAt *string `json:"created_at,omitempty"` CreatorName *string `json:"creator_name,omitempty"` DomainName *string `json:"domain_name,omitempty"` GroupName *string `json:"group_name,omitempty"` HttpsUrl *string `json:"https_url,omitempty"` IamUserUuid *string `json:"iam_user_uuid,omitempty"` IsOwner *int32 `json:"is_owner,omitempty"` LfsSize *string `json:"lfs_size,omitempty"` ProjectIsDeleted *string `json:"project_is_deleted,omitempty"` ProjectUuid *string `json:"project_uuid,omitempty"` RepositoryId *int32 `json:"repository_id,omitempty"` RepositoryName *string `json:"repository_name,omitempty"` RepositorySize *string `json:"repository_size,omitempty"` RepositoryUuid *string `json:"repository_uuid,omitempty"` SshUrl *string `json:"ssh_url,omitempty"` Star *bool `json:"star,omitempty"` Status *int32 `json:"status,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` UserRole *int32 `json:"userRole,omitempty"` VisibilityLevel *int32 `json:"visibility_level,omitempty"` WebUrl *string `json:"web_url,omitempty"` }
func (RepoInfoV2) String ¶
func (o RepoInfoV2) String() string
type RepoListHook ¶
type RepoListHook struct {
Hooks *[]RepoHook `json:"hooks,omitempty"`
}
func (RepoListHook) String ¶
func (o RepoListHook) String() string
type RepoListInfo ¶
type RepoListInfo struct { Repositorys *[]RepoInfo `json:"repositorys,omitempty"` Total *int32 `json:"total,omitempty"` }
func (RepoListInfo) String ¶
func (o RepoListInfo) String() string
type RepoListInfoV2 ¶
type RepoListInfoV2 struct { Repositories *[]RepoInfoV2 `json:"repositories,omitempty"` Total *int32 `json:"total,omitempty"` }
func (RepoListInfoV2) String ¶
func (o RepoListInfoV2) String() string
type RepoMemberInfo ¶
type RepoMemberInfo struct { DomainId *string `json:"domain_id,omitempty"` DomainName *string `json:"domain_name,omitempty"` Id string `json:"id"` Name string `json:"name"` Role int32 `json:"role"` }
func (RepoMemberInfo) String ¶
func (o RepoMemberInfo) String() string
type RepoStatistics ¶
type RepoStatistics struct { AddLines *int32 `json:"add_lines,omitempty"` Branch *string `json:"branch,omitempty"` CommitCount *int32 `json:"commit_count,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` DeleteLines *int32 `json:"delete_lines,omitempty"` Id *int32 `json:"id,omitempty"` ProjectId *int32 `json:"project_id,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` UserName *string `json:"user_name,omitempty"` }
func (RepoStatistics) String ¶
func (o RepoStatistics) String() string
type RepoStatisticsEvent ¶
type RepoStatisticsEvent struct { Branch *string `json:"branch,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` Date *string `json:"date,omitempty"` Id *int32 `json:"id,omitempty"` ProjectId *int32 `json:"project_id,omitempty"` Status *string `json:"status,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` UserId *int32 `json:"user_id,omitempty"` }
func (RepoStatisticsEvent) String ¶
func (o RepoStatisticsEvent) String() string
type RepoStatisticsLaunch ¶
type RepoStatisticsLaunch struct { CanStatistics *bool `json:"can_statistics,omitempty"` JoinId *string `json:"join_id,omitempty"` Message *string `json:"message,omitempty"` }
func (RepoStatisticsLaunch) String ¶
func (o RepoStatisticsLaunch) String() string
type Repository ¶
type Repository struct {
RepositoryUuid *string `json:"repository_uuid,omitempty"`
}
func (Repository) String ¶
func (o Repository) String() string
type RepositoryHookRequest ¶
type RepositoryHookRequest struct { HookUrl string `json:"hook_url"` Service string `json:"service"` Token *string `json:"token,omitempty"` HookEvents []string `json:"hook_events"` }
func (RepositoryHookRequest) String ¶
func (o RepositoryHookRequest) String() string
type RepositoryMember ¶
type RepositoryMember struct { Description *string `json:"description,omitempty"` DomainId *string `json:"domain_id,omitempty"` DomainName *string `json:"domain_name,omitempty"` Email *string `json:"email,omitempty"` Enabled *string `json:"enabled,omitempty"` Name *string `json:"name,omitempty"` Role *int32 `json:"role,omitempty"` UserId *string `json:"user_id,omitempty"` }
func (RepositoryMember) String ¶
func (o RepositoryMember) String() string
type RepositoryMemberList ¶
type RepositoryMemberList struct { Total *int32 `json:"total,omitempty"` Users *[]RepositoryMember `json:"users,omitempty"` }
func (RepositoryMemberList) String ¶
func (o RepositoryMemberList) String() string
type RepositoryTemplateVo ¶
type RepositoryTemplateVo struct { TemplateType string `json:"templateType"` CodeTitle *string `json:"codeTitle,omitempty"` CreatorName *string `json:"creatorName,omitempty"` CodeDescription *string `json:"codeDescription,omitempty"` Languages *[]string `json:"languages,omitempty"` Plateform *[]string `json:"plateform,omitempty"` Entertype *[]string `json:"entertype,omitempty"` }
func (RepositoryTemplateVo) String ¶
func (o RepositoryTemplateVo) String() string
type RepositoryTemplateVo2 ¶
type RepositoryTemplateVo2 struct { TemplateType string `json:"template_type"` CodeTitle *string `json:"code_title,omitempty"` CreatorName *string `json:"creator_name,omitempty"` CodeDescription *string `json:"code_description,omitempty"` Languages *[]string `json:"languages,omitempty"` Plateform *[]string `json:"plateform,omitempty"` Entertype *[]string `json:"entertype,omitempty"` }
func (RepositoryTemplateVo2) String ¶
func (o RepositoryTemplateVo2) String() string
type SetRepoRoleRequest ¶
type SetRepoRoleRequest struct { MemberId string `json:"member_id"` RepositoryUuid string `json:"repository_uuid"` Body *SetRepoRoleRequestBody `json:"body,omitempty"` }
Request Object
func (SetRepoRoleRequest) String ¶
func (o SetRepoRoleRequest) String() string
type SetRepoRoleRequestBody ¶
type SetRepoRoleRequestBody struct {
Role SetRepoRoleRequestBodyRole `json:"role"`
}
func (SetRepoRoleRequestBody) String ¶
func (o SetRepoRoleRequestBody) String() string
type SetRepoRoleRequestBodyRole ¶
type SetRepoRoleRequestBodyRole struct {
// contains filtered or unexported fields
}
func (SetRepoRoleRequestBodyRole) MarshalJSON ¶
func (c SetRepoRoleRequestBodyRole) MarshalJSON() ([]byte, error)
func (*SetRepoRoleRequestBodyRole) UnmarshalJSON ¶
func (c *SetRepoRoleRequestBodyRole) UnmarshalJSON(b []byte) error
type SetRepoRoleRequestBodyRoleEnum ¶
type SetRepoRoleRequestBodyRoleEnum struct { E_20 SetRepoRoleRequestBodyRole E_30 SetRepoRoleRequestBodyRole E_40 SetRepoRoleRequestBodyRole }
func GetSetRepoRoleRequestBodyRoleEnum ¶
func GetSetRepoRoleRequestBodyRoleEnum() SetRepoRoleRequestBodyRoleEnum
type SetRepoRoleResponse ¶
type SetRepoRoleResponse struct { Error *Error `json:"error,omitempty"` Result *Empty `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetRepoRoleResponse) String ¶
func (o SetRepoRoleResponse) String() string
type ShareTemplatesRequest ¶
type ShareTemplatesRequest struct {}
Request Object
func (ShareTemplatesRequest) String ¶
func (o ShareTemplatesRequest) String() string
type ShareTemplatesResponse ¶
type ShareTemplatesResponse struct {}
Response Object
func (ShareTemplatesResponse) String ¶
func (o ShareTemplatesResponse) String() string
type ShowAllRepositoryByTwoProjectIdRequest ¶
type ShowAllRepositoryByTwoProjectIdRequest struct { PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` ProjectUuid string `json:"project_uuid"` Search *string `json:"search,omitempty"` }
Request Object
func (ShowAllRepositoryByTwoProjectIdRequest) String ¶
func (o ShowAllRepositoryByTwoProjectIdRequest) String() string
type ShowAllRepositoryByTwoProjectIdResponse ¶
type ShowAllRepositoryByTwoProjectIdResponse struct { Error *Error `json:"error,omitempty"` Result *RepoListInfoV2 `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAllRepositoryByTwoProjectIdResponse) String ¶
func (o ShowAllRepositoryByTwoProjectIdResponse) String() string
type ShowBranchesByRepositoryIdRequest ¶
type ShowBranchesByRepositoryIdRequest struct {
RepositoryId string `json:"repository_id"`
}
Request Object
func (ShowBranchesByRepositoryIdRequest) String ¶
func (o ShowBranchesByRepositoryIdRequest) String() string
type ShowBranchesByRepositoryIdResponse ¶
type ShowBranchesByRepositoryIdResponse struct { Error *Error `json:"error,omitempty"` Result *BranchList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBranchesByRepositoryIdResponse) String ¶
func (o ShowBranchesByRepositoryIdResponse) String() string
type ShowBranchesByTwoRepositoryIdRequest ¶
type ShowBranchesByTwoRepositoryIdRequest struct {
RepositoryId string `json:"repository_id"`
}
Request Object
func (ShowBranchesByTwoRepositoryIdRequest) String ¶
func (o ShowBranchesByTwoRepositoryIdRequest) String() string
type ShowBranchesByTwoRepositoryIdResponse ¶
type ShowBranchesByTwoRepositoryIdResponse struct { Error *Error `json:"error,omitempty"` Result *TagList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBranchesByTwoRepositoryIdResponse) String ¶
func (o ShowBranchesByTwoRepositoryIdResponse) String() string
type ShowCommitsByBranchRequest ¶
type ShowCommitsByBranchRequest struct { GroupName string `json:"group_name"` PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` RefName string `json:"ref_name"` RepositoryName string `json:"repository_name"` }
Request Object
func (ShowCommitsByBranchRequest) String ¶
func (o ShowCommitsByBranchRequest) String() string
type ShowCommitsByBranchResponse ¶
type ShowCommitsByBranchResponse struct { Error *Error `json:"error,omitempty"` Result *CommitList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCommitsByBranchResponse) String ¶
func (o ShowCommitsByBranchResponse) String() string
type ShowCommitsByRepoIdRequest ¶
type ShowCommitsByRepoIdRequest struct { Author *string `json:"author,omitempty"` BeginDate *string `json:"begin_date,omitempty"` EndDate *string `json:"end_date,omitempty"` Message *string `json:"message,omitempty"` PageIndex *int32 `json:"page_index,omitempty"` PageSize *int32 `json:"page_size,omitempty"` Path *string `json:"path,omitempty"` RefName string `json:"ref_name"` RepositoryId int32 `json:"repository_id"` StatFormat *string `json:"stat_format,omitempty"` }
Request Object
func (ShowCommitsByRepoIdRequest) String ¶
func (o ShowCommitsByRepoIdRequest) String() string
type ShowCommitsByRepoIdResponse ¶
type ShowCommitsByRepoIdResponse struct { Error *Error `json:"error,omitempty"` Result *CommitList `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCommitsByRepoIdResponse) String ¶
func (o ShowCommitsByRepoIdResponse) String() string
type ShowDiffCommitRequest ¶
Request Object
func (ShowDiffCommitRequest) String ¶
func (o ShowDiffCommitRequest) String() string
type ShowDiffCommitResponse ¶
type ShowDiffCommitResponse struct { Error *Error `json:"error,omitempty"` Result *[]DiffCommitInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDiffCommitResponse) String ¶
func (o ShowDiffCommitResponse) String() string
type ShowFileRequest ¶
type ShowFileRequest struct { RepoId int32 `json:"repo_id"` FilePath string `json:"file_path"` Ref string `json:"ref"` }
Request Object
func (ShowFileRequest) String ¶
func (o ShowFileRequest) String() string
type ShowFileResponse ¶
type ShowFileResponse struct { Error *Error `json:"error,omitempty"` Result *[]FileContentInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowFileResponse) String ¶
func (o ShowFileResponse) String() string
type ShowHasPipelineRequest ¶
type ShowHasPipelineRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (ShowHasPipelineRequest) String ¶
func (o ShowHasPipelineRequest) String() string
type ShowHasPipelineResponse ¶
type ShowHasPipelineResponse struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowHasPipelineResponse) String ¶
func (o ShowHasPipelineResponse) String() string
type ShowImageBlobRequest ¶
type ShowImageBlobRequest struct { RepositoryUuid string `json:"repository_uuid"` BranchName string `json:"branch_name"` Path string `json:"path"` }
Request Object
func (ShowImageBlobRequest) String ¶
func (o ShowImageBlobRequest) String() string
type ShowImageBlobResponse ¶
type ShowImageBlobResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ShowImageBlobResponse) String ¶
func (o ShowImageBlobResponse) String() string
type ShowMasterRequest ¶
type ShowMasterRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (ShowMasterRequest) String ¶
func (o ShowMasterRequest) String() string
type ShowMasterResponse ¶
type ShowMasterResponse struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMasterResponse) String ¶
func (o ShowMasterResponse) String() string
type ShowPrivateKeyVerifyRequest ¶
type ShowPrivateKeyVerifyRequest struct {
Body *PrivateKeyVerify `json:"body,omitempty"`
}
Request Object
func (ShowPrivateKeyVerifyRequest) String ¶
func (o ShowPrivateKeyVerifyRequest) String() string
type ShowPrivateKeyVerifyResponse ¶
type ShowPrivateKeyVerifyResponse struct { Error *Error `json:"error,omitempty"` Result *string `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPrivateKeyVerifyResponse) String ¶
func (o ShowPrivateKeyVerifyResponse) String() string
type ShowRepoIdRequest ¶
type ShowRepoIdRequest struct { GroupName string `json:"group_name"` RepositoryName string `json:"repository_name"` }
Request Object
func (ShowRepoIdRequest) String ¶
func (o ShowRepoIdRequest) String() string
type ShowRepoIdResponse ¶
type ShowRepoIdResponse struct { Error *Error `json:"error,omitempty"` Result *int32 `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepoIdResponse) String ¶
func (o ShowRepoIdResponse) String() string
type ShowRepositoryArchiveRequest ¶
type ShowRepositoryArchiveRequest struct { RepositoryUuid string `json:"repository_uuid"` Sha string `json:"sha"` Format string `json:"format"` }
Request Object
func (ShowRepositoryArchiveRequest) String ¶
func (o ShowRepositoryArchiveRequest) String() string
type ShowRepositoryArchiveResponse ¶
type ShowRepositoryArchiveResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ShowRepositoryArchiveResponse) String ¶
func (o ShowRepositoryArchiveResponse) String() string
type ShowRepositoryByUuidRequest ¶
type ShowRepositoryByUuidRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (ShowRepositoryByUuidRequest) String ¶
func (o ShowRepositoryByUuidRequest) String() string
type ShowRepositoryByUuidResponse ¶
type ShowRepositoryByUuidResponse struct { Error *Error `json:"error,omitempty"` Result *RepoInfoV2 `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryByUuidResponse) String ¶
func (o ShowRepositoryByUuidResponse) String() string
type ShowRepositoryNameExistRequest ¶
type ShowRepositoryNameExistRequest struct { ProjectUuid string `json:"project_uuid"` RepositoryName string `json:"repository_name"` }
Request Object
func (ShowRepositoryNameExistRequest) String ¶
func (o ShowRepositoryNameExistRequest) String() string
type ShowRepositoryNameExistResponse ¶
type ShowRepositoryNameExistResponse struct { Error *Error `json:"error,omitempty"` Result *bool `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryNameExistResponse) String ¶
func (o ShowRepositoryNameExistResponse) String() string
type ShowRepositoryStatisticsRequest ¶
type ShowRepositoryStatisticsRequest struct { RepositoryId int32 `json:"repository_id"` Body *ShowRepositoryStatisticsRequestBody `json:"body,omitempty"` }
Request Object
func (ShowRepositoryStatisticsRequest) String ¶
func (o ShowRepositoryStatisticsRequest) String() string
type ShowRepositoryStatisticsRequestBody ¶
type ShowRepositoryStatisticsRequestBody struct {
BranchName string `json:"branch_name"`
}
func (ShowRepositoryStatisticsRequestBody) String ¶
func (o ShowRepositoryStatisticsRequestBody) String() string
type ShowRepositoryStatisticsResponse ¶
type ShowRepositoryStatisticsResponse struct { Error *Error `json:"error,omitempty"` Result *RepoStatisticsLaunch `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryStatisticsResponse) String ¶
func (o ShowRepositoryStatisticsResponse) String() string
type ShowSingleCommitRequest ¶
type ShowSingleCommitRequest struct { RepoId int32 `json:"repo_id"` Sha string `json:"sha"` Stats *bool `json:"stats,omitempty"` }
Request Object
func (ShowSingleCommitRequest) String ¶
func (o ShowSingleCommitRequest) String() string
type ShowSingleCommitResponse ¶
type ShowSingleCommitResponse struct { Error *Error `json:"error,omitempty"` Result *SpecificCommitInfo `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSingleCommitResponse) String ¶
func (o ShowSingleCommitResponse) String() string
type ShowStatisticCommitRequest ¶
type ShowStatisticCommitRequest struct { RepositoryId int32 `json:"repository_id"` RefName string `json:"ref_name"` BeginDate string `json:"begin_date"` EndDate string `json:"end_date"` }
Request Object
func (ShowStatisticCommitRequest) String ¶
func (o ShowStatisticCommitRequest) String() string
type ShowStatisticCommitResponse ¶
type ShowStatisticCommitResponse struct { Error *Error `json:"error,omitempty"` Result *[]CommitStatistic `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowStatisticCommitResponse) String ¶
func (o ShowStatisticCommitResponse) String() string
type ShowStatisticalDataRequest ¶
type ShowStatisticalDataRequest struct {
RepositoryUuid string `json:"repository_uuid"`
}
Request Object
func (ShowStatisticalDataRequest) String ¶
func (o ShowStatisticalDataRequest) String() string
type ShowStatisticalDataResponse ¶
type ShowStatisticalDataResponse struct { RepoName *string `json:"repoName,omitempty"` CommitCount *int32 `json:"commitCount,omitempty"` RepoSize *string `json:"repoSize,omitempty"` LastCommitTime *string `json:"lastCommitTime,omitempty"` CodeLines *int32 `json:"codeLines,omitempty"` BranchCount *int32 `json:"branchCount,omitempty"` ArchiveUrl *string `json:"archiveUrl,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowStatisticalDataResponse) String ¶
func (o ShowStatisticalDataResponse) String() string
type SpecificCommitInfo ¶
type SpecificCommitInfo struct { Id *string `json:"id,omitempty"` ShortId *string `json:"short_id,omitempty"` Title *string `json:"title,omitempty"` AuthorName *string `json:"author_name,omitempty"` AuthorEmail *string `json:"author_email,omitempty"` CommitterName *string `json:"committer_name,omitempty"` CommitterEmail *string `json:"committer_email,omitempty"` CreatedAt *string `json:"created_at,omitempty"` Message *string `json:"message,omitempty"` ParentIds *[]string `json:"parent_ids,omitempty"` CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"` AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"` Stats *SpecificCommitInfoStats `json:"stats,omitempty"` LastPipeline *SpecificCommitInfoLastPipeline `json:"last_pipeline,omitempty"` }
func (SpecificCommitInfo) String ¶
func (o SpecificCommitInfo) String() string
type SpecificCommitInfoLastPipeline ¶
type SpecificCommitInfoLastPipeline struct { Id *int32 `json:"id,omitempty"` Sha *string `json:"sha,omitempty"` Ref *string `json:"ref,omitempty"` Status *string `json:"status,omitempty"` WebUrl *string `json:"web_url,omitempty"` }
流水线信息
func (SpecificCommitInfoLastPipeline) String ¶
func (o SpecificCommitInfoLastPipeline) String() string
type SpecificCommitInfoStats ¶
type SpecificCommitInfoStats struct { Additions *int32 `json:"additions,omitempty"` Deletions *int32 `json:"deletions,omitempty"` Total *int32 `json:"total,omitempty"` }
变更行数
func (SpecificCommitInfoStats) String ¶
func (o SpecificCommitInfoStats) String() string
type Tag ¶
type TemplateListInfo ¶
type TemplateListInfo struct { Repos *[]DevstarRepoInfo `json:"repos,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` }
func (TemplateListInfo) String ¶
func (o TemplateListInfo) String() string
type TemplateRepository ¶
type TemplateRepository struct { Id *int32 `json:"id,omitempty"` Name *string `json:"name,omitempty"` TemplateName *string `json:"template_name,omitempty"` Tags *[]string `json:"tags,omitempty"` Description *string `json:"description,omitempty"` BriefIntroduction *string `json:"brief_introduction,omitempty"` AutoPendingPipelines *int32 `json:"auto_pending_pipelines,omitempty"` Language *string `json:"language,omitempty"` CreatedAt *string `json:"created_at,omitempty"` UsedTimes *int32 `json:"used_times,omitempty"` LikedTimes *int32 `json:"liked_times,omitempty"` CreatorName *string `json:"creator_name,omitempty"` HttpsUrl *string `json:"https_url,omitempty"` }
func (TemplateRepository) String ¶
func (o TemplateRepository) String() string
type TemplateRepositoryList ¶
type TemplateRepositoryList struct { Projects *[]TemplateRepository `json:"projects,omitempty"` Total *int32 `json:"total,omitempty"` }
func (TemplateRepositoryList) String ¶
func (o TemplateRepositoryList) String() string
type ValidateHttpsInfoRequest ¶
type ValidateHttpsInfoRequest struct { IamUserUuid string `json:"iam_user_uuid"` Body *PasswordRequest `json:"body,omitempty"` }
Request Object
func (ValidateHttpsInfoRequest) String ¶
func (o ValidateHttpsInfoRequest) String() string
type ValidateHttpsInfoResponse ¶
type ValidateHttpsInfoResponse struct { Error *Error `json:"error,omitempty"` Result *string `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ValidateHttpsInfoResponse) String ¶
func (o ValidateHttpsInfoResponse) String() string
type ValidateHttpsInfoV2Request ¶
type ValidateHttpsInfoV2Request struct { IamUserUuid string `json:"iam_user_uuid"` Body *PasswordRequest `json:"body,omitempty"` }
Request Object
func (ValidateHttpsInfoV2Request) String ¶
func (o ValidateHttpsInfoV2Request) String() string
type ValidateHttpsInfoV2Response ¶
type ValidateHttpsInfoV2Response struct { Error *Error `json:"error,omitempty"` Result *string `json:"result,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ValidateHttpsInfoV2Response) String ¶
func (o ValidateHttpsInfoV2Response) String() string
Source Files ¶
- model_add_deploy_key_request.go
- model_add_deploy_key_request_body.go
- model_add_deploy_key_response.go
- model_add_deploy_key_v2_request.go
- model_add_deploy_key_v2_response.go
- model_add_hooks_request.go
- model_add_hooks_response.go
- model_add_repo_members_request.go
- model_add_repo_members_response.go
- model_add_ssh_key_request.go
- model_add_ssh_key_request_body.go
- model_add_ssh_key_response.go
- model_branch.go
- model_branch_list.go
- model_commit.go
- model_commit_action.go
- model_commit_info.go
- model_commit_list.go
- model_commit_statistic.go
- model_create_commit_request.go
- model_create_commit_request_body.go
- model_create_commit_response.go
- model_create_commit_response_body.go
- model_create_commit_response_body_stats.go
- model_create_project_and_repositories_request.go
- model_create_project_and_repositories_response.go
- model_create_project_andfork_repositories_request.go
- model_create_project_andfork_repositories_response.go
- model_create_project_repo_request.go
- model_create_repo_member_request.go
- model_create_repo_member_result.go
- model_create_repo_request.go
- model_create_repository_request.go
- model_create_repository_response.go
- model_delete_deploy_key_request.go
- model_delete_deploy_key_response.go
- model_delete_deploy_key_v2_request.go
- model_delete_deploy_key_v2_response.go
- model_delete_hooks_request.go
- model_delete_hooks_response.go
- model_delete_repo_member_request.go
- model_delete_repo_member_response.go
- model_delete_repository_request.go
- model_delete_repository_response.go
- model_delete_s_shkey_request.go
- model_delete_s_shkey_response.go
- model_devstar_repo_info.go
- model_diff_commit_info.go
- model_empty.go
- model_error.go
- model_external_key_message.go
- model_file_content_info.go
- model_files_response_info.go
- model_fork_project_repo_request.go
- model_get_all_repository_by_project_id_request.go
- model_get_all_repository_by_project_id_response.go
- model_get_product_templates_request.go
- model_get_product_templates_response.go
- model_get_repository_by_project_id_request.go
- model_get_repository_by_project_id_response.go
- model_get_templates_request.go
- model_get_templates_response.go
- model_key.go
- model_list_commit_statistics_request.go
- model_list_commit_statistics_response.go
- model_list_commits_request.go
- model_list_commits_response.go
- model_list_files_request.go
- model_list_files_response.go
- model_list_hooks_request.go
- model_list_hooks_response.go
- model_list_product_two_templates_request.go
- model_list_product_two_templates_response.go
- model_list_repo_members_request.go
- model_list_repo_members_response.go
- model_list_repository_status_request.go
- model_list_repository_status_response.go
- model_list_ssh_keys_request.go
- model_list_ssh_keys_response.go
- model_list_subfiles_request.go
- model_list_subfiles_response.go
- model_list_templates_two_request.go
- model_list_templates_two_response.go
- model_list_two_templates_request.go
- model_list_two_templates_response.go
- model_list_user_all_repositories_request.go
- model_list_user_all_repositories_response.go
- model_logs_tree.go
- model_password_request.go
- model_private_key_verify.go
- model_project_repository.go
- model_public_key.go
- model_public_key_list.go
- model_repo_commit_statistics.go
- model_repo_daily_codeline.go
- model_repo_hook.go
- model_repo_info.go
- model_repo_info_v2.go
- model_repo_list_hook.go
- model_repo_list_info.go
- model_repo_list_info_v2.go
- model_repo_member_info.go
- model_repo_statistics.go
- model_repo_statistics_event.go
- model_repo_statistics_launch.go
- model_repository.go
- model_repository_hook_request.go
- model_repository_member.go
- model_repository_member_list.go
- model_repository_template_vo.go
- model_repository_template_vo2.go
- model_set_repo_role_request.go
- model_set_repo_role_request_body.go
- model_set_repo_role_response.go
- model_share_templates_request.go
- model_share_templates_response.go
- model_show_all_repository_by_two_project_id_request.go
- model_show_all_repository_by_two_project_id_response.go
- model_show_branches_by_repository_id_request.go
- model_show_branches_by_repository_id_response.go
- model_show_branches_by_two_repository_id_request.go
- model_show_branches_by_two_repository_id_response.go
- model_show_commits_by_branch_request.go
- model_show_commits_by_branch_response.go
- model_show_commits_by_repo_id_request.go
- model_show_commits_by_repo_id_response.go
- model_show_diff_commit_request.go
- model_show_diff_commit_response.go
- model_show_file_request.go
- model_show_file_response.go
- model_show_has_pipeline_request.go
- model_show_has_pipeline_response.go
- model_show_image_blob_request.go
- model_show_image_blob_response.go
- model_show_master_request.go
- model_show_master_response.go
- model_show_private_key_verify_request.go
- model_show_private_key_verify_response.go
- model_show_repo_id_request.go
- model_show_repo_id_response.go
- model_show_repository_archive_request.go
- model_show_repository_archive_response.go
- model_show_repository_by_uuid_request.go
- model_show_repository_by_uuid_response.go
- model_show_repository_name_exist_request.go
- model_show_repository_name_exist_response.go
- model_show_repository_statistics_request.go
- model_show_repository_statistics_request_body.go
- model_show_repository_statistics_response.go
- model_show_single_commit_request.go
- model_show_single_commit_response.go
- model_show_statistic_commit_request.go
- model_show_statistic_commit_response.go
- model_show_statistical_data_request.go
- model_show_statistical_data_response.go
- model_specific_commit_info.go
- model_specific_commit_info_last_pipeline.go
- model_specific_commit_info_stats.go
- model_tag.go
- model_tag_list.go
- model_template_list_info.go
- model_template_repository.go
- model_template_repository_list.go
- model_validate_https_info_request.go
- model_validate_https_info_response.go
- model_validate_https_info_v2_request.go
- model_validate_https_info_v2_response.go