Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
- type CheckDeployKeyRequest
- func (*CheckDeployKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckDeployKeyRequest) GetRepositoryId() string
- func (*CheckDeployKeyRequest) ProtoMessage()
- func (x *CheckDeployKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CheckDeployKeyRequest) Reset()
- func (x *CheckDeployKeyRequest) String() string
- type CheckDeployKeyResponse
- func (*CheckDeployKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckDeployKeyResponse) GetDeployKey() *DeployKey
- func (*CheckDeployKeyResponse) ProtoMessage()
- func (x *CheckDeployKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CheckDeployKeyResponse) Reset()
- func (x *CheckDeployKeyResponse) String() string
- type CheckWebhookRequest
- func (*CheckWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckWebhookRequest) GetRepositoryId() string
- func (*CheckWebhookRequest) ProtoMessage()
- func (x *CheckWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *CheckWebhookRequest) Reset()
- func (x *CheckWebhookRequest) String() string
- type CheckWebhookResponse
- func (*CheckWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckWebhookResponse) GetWebhook() *Webhook
- func (*CheckWebhookResponse) ProtoMessage()
- func (x *CheckWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *CheckWebhookResponse) Reset()
- func (x *CheckWebhookResponse) String() string
- type Collaborator
- func (*Collaborator) Descriptor() ([]byte, []int)deprecated
- func (x *Collaborator) GetId() string
- func (x *Collaborator) GetLogin() string
- func (x *Collaborator) GetPermission() Collaborator_Permission
- func (*Collaborator) ProtoMessage()
- func (x *Collaborator) ProtoReflect() protoreflect.Message
- func (x *Collaborator) Reset()
- func (x *Collaborator) String() string
- type Collaborator_Permission
- func (Collaborator_Permission) Descriptor() protoreflect.EnumDescriptor
- func (x Collaborator_Permission) Enum() *Collaborator_Permission
- func (Collaborator_Permission) EnumDescriptor() ([]byte, []int)deprecated
- func (x Collaborator_Permission) Number() protoreflect.EnumNumber
- func (x Collaborator_Permission) String() string
- func (Collaborator_Permission) Type() protoreflect.EnumType
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetAuthorAvatarUrl() string
- func (x *Commit) GetAuthorName() string
- func (x *Commit) GetAuthorUuid() string
- func (x *Commit) GetMsg() string
- func (x *Commit) GetSha() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRequest) GetBranchName() string
- func (x *CommitRequest) GetChanges() []*CommitRequest_Change
- func (x *CommitRequest) GetCommitMessage() string
- func (x *CommitRequest) GetRepositoryId() string
- func (x *CommitRequest) GetUserId() string
- func (*CommitRequest) ProtoMessage()
- func (x *CommitRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRequest) Reset()
- func (x *CommitRequest) String() string
- type CommitRequest_Change
- func (*CommitRequest_Change) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRequest_Change) GetAction() CommitRequest_Change_Action
- func (x *CommitRequest_Change) GetFile() *File
- func (*CommitRequest_Change) ProtoMessage()
- func (x *CommitRequest_Change) ProtoReflect() protoreflect.Message
- func (x *CommitRequest_Change) Reset()
- func (x *CommitRequest_Change) String() string
- type CommitRequest_Change_Action
- func (CommitRequest_Change_Action) Descriptor() protoreflect.EnumDescriptor
- func (x CommitRequest_Change_Action) Enum() *CommitRequest_Change_Action
- func (CommitRequest_Change_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommitRequest_Change_Action) Number() protoreflect.EnumNumber
- func (x CommitRequest_Change_Action) String() string
- func (CommitRequest_Change_Action) Type() protoreflect.EnumType
- type CommitResponse
- type CreateBuildStatusRequest
- func (*CreateBuildStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildStatusRequest) GetCommitSha() string
- func (x *CreateBuildStatusRequest) GetContext() string
- func (x *CreateBuildStatusRequest) GetDescription() string
- func (x *CreateBuildStatusRequest) GetRepositoryId() string
- func (x *CreateBuildStatusRequest) GetStatus() CreateBuildStatusRequest_Status
- func (x *CreateBuildStatusRequest) GetUrl() string
- func (*CreateBuildStatusRequest) ProtoMessage()
- func (x *CreateBuildStatusRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBuildStatusRequest) Reset()
- func (x *CreateBuildStatusRequest) String() string
- type CreateBuildStatusRequest_Status
- func (CreateBuildStatusRequest_Status) Descriptor() protoreflect.EnumDescriptor
- func (x CreateBuildStatusRequest_Status) Enum() *CreateBuildStatusRequest_Status
- func (CreateBuildStatusRequest_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateBuildStatusRequest_Status) Number() protoreflect.EnumNumber
- func (x CreateBuildStatusRequest_Status) String() string
- func (CreateBuildStatusRequest_Status) Type() protoreflect.EnumType
- type CreateBuildStatusResponse
- func (*CreateBuildStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildStatusResponse) GetCode() CreateBuildStatusResponse_Code
- func (*CreateBuildStatusResponse) ProtoMessage()
- func (x *CreateBuildStatusResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBuildStatusResponse) Reset()
- func (x *CreateBuildStatusResponse) String() string
- type CreateBuildStatusResponse_Code
- func (CreateBuildStatusResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x CreateBuildStatusResponse_Code) Enum() *CreateBuildStatusResponse_Code
- func (CreateBuildStatusResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateBuildStatusResponse_Code) Number() protoreflect.EnumNumber
- func (x CreateBuildStatusResponse_Code) String() string
- func (CreateBuildStatusResponse_Code) Type() protoreflect.EnumType
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
- func (x *CreateRequest) GetDefaultBranch() string
- func (x *CreateRequest) GetIntegrationType() repository_integrator.IntegrationType
- func (x *CreateRequest) GetOnlyPublic() bool
- func (x *CreateRequest) GetPipelineFile() string
- func (x *CreateRequest) GetProjectId() string
- func (x *CreateRequest) GetRepositoryUrl() string
- func (x *CreateRequest) GetRequestId() string
- func (x *CreateRequest) GetUserId() string
- func (x *CreateRequest) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- type DeleteRequest
- type DeleteResponse
- type DeployKey
- func (*DeployKey) Descriptor() ([]byte, []int)deprecated
- func (x *DeployKey) GetCreatedAt() *timestamp.Timestamp
- func (x *DeployKey) GetFingerprint() string
- func (x *DeployKey) GetTitle() string
- func (*DeployKey) ProtoMessage()
- func (x *DeployKey) ProtoReflect() protoreflect.Message
- func (x *DeployKey) Reset()
- func (x *DeployKey) String() string
- type DescribeManyRequest
- func (*DescribeManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeManyRequest) GetProjectIds() []string
- func (x *DescribeManyRequest) GetRepositoryIds() []string
- func (*DescribeManyRequest) ProtoMessage()
- func (x *DescribeManyRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeManyRequest) Reset()
- func (x *DescribeManyRequest) String() string
- type DescribeManyResponse
- func (*DescribeManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeManyResponse) GetRepositories() []*Repository
- func (*DescribeManyResponse) ProtoMessage()
- func (x *DescribeManyResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeManyResponse) Reset()
- func (x *DescribeManyResponse) String() string
- type DescribeRemoteRepositoryRequest
- func (*DescribeRemoteRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRemoteRepositoryRequest) GetIntegrationType() repository_integrator.IntegrationType
- func (x *DescribeRemoteRepositoryRequest) GetUrl() string
- func (x *DescribeRemoteRepositoryRequest) GetUserId() string
- func (*DescribeRemoteRepositoryRequest) ProtoMessage()
- func (x *DescribeRemoteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRemoteRepositoryRequest) Reset()
- func (x *DescribeRemoteRepositoryRequest) String() string
- type DescribeRemoteRepositoryResponse
- func (*DescribeRemoteRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRemoteRepositoryResponse) GetRemoteRepository() *RemoteRepository
- func (*DescribeRemoteRepositoryResponse) ProtoMessage()
- func (x *DescribeRemoteRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeRemoteRepositoryResponse) Reset()
- func (x *DescribeRemoteRepositoryResponse) String() string
- type DescribeRequest
- func (*DescribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRequest) GetIncludePrivateSshKey() bool
- func (x *DescribeRequest) GetRepositoryId() string
- func (*DescribeRequest) ProtoMessage()
- func (x *DescribeRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRequest) Reset()
- func (x *DescribeRequest) String() string
- type DescribeResponse
- func (*DescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeResponse) GetPrivateSshKey() string
- func (x *DescribeResponse) GetRepository() *Repository
- func (*DescribeResponse) ProtoMessage()
- func (x *DescribeResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeResponse) Reset()
- func (x *DescribeResponse) String() string
- type DescribeRevisionRequest
- func (*DescribeRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRevisionRequest) GetRepositoryId() string
- func (x *DescribeRevisionRequest) GetRevision() *Revision
- func (*DescribeRevisionRequest) ProtoMessage()
- func (x *DescribeRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRevisionRequest) Reset()
- func (x *DescribeRevisionRequest) String() string
- type DescribeRevisionResponse
- func (*DescribeRevisionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRevisionResponse) GetCommit() *Commit
- func (*DescribeRevisionResponse) ProtoMessage()
- func (x *DescribeRevisionResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeRevisionResponse) Reset()
- func (x *DescribeRevisionResponse) String() string
- type File
- type ForkRequest
- func (*ForkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForkRequest) GetIntegrationType() repository_integrator.IntegrationType
- func (x *ForkRequest) GetUrl() string
- func (x *ForkRequest) GetUserId() string
- func (*ForkRequest) ProtoMessage()
- func (x *ForkRequest) ProtoReflect() protoreflect.Message
- func (x *ForkRequest) Reset()
- func (x *ForkRequest) String() string
- type ForkResponse
- type GetChangedFilePathsRequest
- func (*GetChangedFilePathsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangedFilePathsRequest) GetBaseRev() *Revision
- func (x *GetChangedFilePathsRequest) GetComparisonType() GetChangedFilePathsRequest_ComparisonType
- func (x *GetChangedFilePathsRequest) GetHeadRev() *Revision
- func (x *GetChangedFilePathsRequest) GetRepositoryId() string
- func (*GetChangedFilePathsRequest) ProtoMessage()
- func (x *GetChangedFilePathsRequest) ProtoReflect() protoreflect.Message
- func (x *GetChangedFilePathsRequest) Reset()
- func (x *GetChangedFilePathsRequest) String() string
- type GetChangedFilePathsRequest_ComparisonType
- func (GetChangedFilePathsRequest_ComparisonType) Descriptor() protoreflect.EnumDescriptor
- func (x GetChangedFilePathsRequest_ComparisonType) Enum() *GetChangedFilePathsRequest_ComparisonType
- func (GetChangedFilePathsRequest_ComparisonType) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetChangedFilePathsRequest_ComparisonType) Number() protoreflect.EnumNumber
- func (x GetChangedFilePathsRequest_ComparisonType) String() string
- func (GetChangedFilePathsRequest_ComparisonType) Type() protoreflect.EnumType
- type GetChangedFilePathsResponse
- func (*GetChangedFilePathsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangedFilePathsResponse) GetChangedFilePaths() []string
- func (*GetChangedFilePathsResponse) ProtoMessage()
- func (x *GetChangedFilePathsResponse) ProtoReflect() protoreflect.Message
- func (x *GetChangedFilePathsResponse) Reset()
- func (x *GetChangedFilePathsResponse) String() string
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileRequest) GetCommitSha() string
- func (x *GetFileRequest) GetPath() string
- func (x *GetFileRequest) GetRepositoryId() string
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- type GetFileResponse
- type GetFilesRequest
- func (*GetFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFilesRequest) GetIncludeContent() bool
- func (x *GetFilesRequest) GetRepositoryId() string
- func (x *GetFilesRequest) GetRevision() *Revision
- func (x *GetFilesRequest) GetSelectors() []*GetFilesRequest_Selector
- func (*GetFilesRequest) ProtoMessage()
- func (x *GetFilesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFilesRequest) Reset()
- func (x *GetFilesRequest) String() string
- type GetFilesRequest_Selector
- func (*GetFilesRequest_Selector) Descriptor() ([]byte, []int)deprecated
- func (x *GetFilesRequest_Selector) GetContentRegex() string
- func (x *GetFilesRequest_Selector) GetGlob() string
- func (*GetFilesRequest_Selector) ProtoMessage()
- func (x *GetFilesRequest_Selector) ProtoReflect() protoreflect.Message
- func (x *GetFilesRequest_Selector) Reset()
- func (x *GetFilesRequest_Selector) String() string
- type GetFilesResponse
- type GetSshKeyRequest
- type GetSshKeyResponse
- func (*GetSshKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSshKeyResponse) GetPrivateSshKey() string
- func (*GetSshKeyResponse) ProtoMessage()
- func (x *GetSshKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetSshKeyResponse) Reset()
- func (x *GetSshKeyResponse) String() string
- type ListAccessibleRepositoriesRequest
- func (*ListAccessibleRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessibleRepositoriesRequest) GetIntegrationType() repository_integrator.IntegrationType
- func (x *ListAccessibleRepositoriesRequest) GetOnlyPublic() bool
- func (x *ListAccessibleRepositoriesRequest) GetPageToken() string
- func (x *ListAccessibleRepositoriesRequest) GetUserId() string
- func (*ListAccessibleRepositoriesRequest) ProtoMessage()
- func (x *ListAccessibleRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessibleRepositoriesRequest) Reset()
- func (x *ListAccessibleRepositoriesRequest) String() string
- type ListAccessibleRepositoriesResponse
- func (*ListAccessibleRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessibleRepositoriesResponse) GetNextPageToken() string
- func (x *ListAccessibleRepositoriesResponse) GetRepositories() []*RemoteRepository
- func (*ListAccessibleRepositoriesResponse) ProtoMessage()
- func (x *ListAccessibleRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessibleRepositoriesResponse) Reset()
- func (x *ListAccessibleRepositoriesResponse) String() string
- type ListCollaboratorsRequest
- func (*ListCollaboratorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollaboratorsRequest) GetPageToken() string
- func (x *ListCollaboratorsRequest) GetRepositoryId() string
- func (*ListCollaboratorsRequest) ProtoMessage()
- func (x *ListCollaboratorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCollaboratorsRequest) Reset()
- func (x *ListCollaboratorsRequest) String() string
- type ListCollaboratorsResponse
- func (*ListCollaboratorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollaboratorsResponse) GetCollaborators() []*Collaborator
- func (x *ListCollaboratorsResponse) GetNextPageToken() string
- func (*ListCollaboratorsResponse) ProtoMessage()
- func (x *ListCollaboratorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollaboratorsResponse) Reset()
- func (x *ListCollaboratorsResponse) String() string
- type ListRequest
- type ListResponse
- type RegenerateDeployKeyRequest
- func (*RegenerateDeployKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateDeployKeyRequest) GetRepositoryId() string
- func (*RegenerateDeployKeyRequest) ProtoMessage()
- func (x *RegenerateDeployKeyRequest) ProtoReflect() protoreflect.Message
- func (x *RegenerateDeployKeyRequest) Reset()
- func (x *RegenerateDeployKeyRequest) String() string
- type RegenerateDeployKeyResponse
- func (*RegenerateDeployKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateDeployKeyResponse) GetDeployKey() *DeployKey
- func (*RegenerateDeployKeyResponse) ProtoMessage()
- func (x *RegenerateDeployKeyResponse) ProtoReflect() protoreflect.Message
- func (x *RegenerateDeployKeyResponse) Reset()
- func (x *RegenerateDeployKeyResponse) String() string
- type RegenerateWebhookRequest
- func (*RegenerateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateWebhookRequest) GetRepositoryId() string
- func (*RegenerateWebhookRequest) ProtoMessage()
- func (x *RegenerateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *RegenerateWebhookRequest) Reset()
- func (x *RegenerateWebhookRequest) String() string
- type RegenerateWebhookResponse
- func (*RegenerateWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateWebhookResponse) GetWebhook() *Webhook
- func (*RegenerateWebhookResponse) ProtoMessage()
- func (x *RegenerateWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *RegenerateWebhookResponse) Reset()
- func (x *RegenerateWebhookResponse) String() string
- type RemoteRepository
- func (*RemoteRepository) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteRepository) GetAddable() bool
- func (x *RemoteRepository) GetDescription() string
- func (x *RemoteRepository) GetFullName() string
- func (x *RemoteRepository) GetId() string
- func (x *RemoteRepository) GetName() string
- func (x *RemoteRepository) GetReason() string
- func (x *RemoteRepository) GetUrl() string
- func (*RemoteRepository) ProtoMessage()
- func (x *RemoteRepository) ProtoReflect() protoreflect.Message
- func (x *RemoteRepository) Reset()
- func (x *RemoteRepository) String() string
- type RemoteRepositoryChanged
- func (*RemoteRepositoryChanged) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteRepositoryChanged) GetRemoteId() string
- func (x *RemoteRepositoryChanged) GetTimestamp() *timestamp.Timestamp
- func (*RemoteRepositoryChanged) ProtoMessage()
- func (x *RemoteRepositoryChanged) ProtoReflect() protoreflect.Message
- func (x *RemoteRepositoryChanged) Reset()
- func (x *RemoteRepositoryChanged) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
- func (x *Repository) GetDefaultBranch() string
- func (x *Repository) GetHookId() string
- func (x *Repository) GetId() string
- func (x *Repository) GetIntegrationType() repository_integrator.IntegrationType
- func (x *Repository) GetName() string
- func (x *Repository) GetOwner() string
- func (x *Repository) GetPipelineFile() string
- func (x *Repository) GetPrivate() bool
- func (x *Repository) GetProjectId() string
- func (x *Repository) GetProvider() string
- func (x *Repository) GetUrl() string
- func (x *Repository) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type RepositoryServiceClient
- type RepositoryServiceServer
- type Revision
- type UnimplementedRepositoryServiceServer
- func (UnimplementedRepositoryServiceServer) CheckDeployKey(context.Context, *CheckDeployKeyRequest) (*CheckDeployKeyResponse, error)
- func (UnimplementedRepositoryServiceServer) CheckWebhook(context.Context, *CheckWebhookRequest) (*CheckWebhookResponse, error)
- func (UnimplementedRepositoryServiceServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
- func (UnimplementedRepositoryServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedRepositoryServiceServer) CreateBuildStatus(context.Context, *CreateBuildStatusRequest) (*CreateBuildStatusResponse, error)
- func (UnimplementedRepositoryServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedRepositoryServiceServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
- func (UnimplementedRepositoryServiceServer) DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error)
- func (UnimplementedRepositoryServiceServer) DescribeRemoteRepository(context.Context, *DescribeRemoteRepositoryRequest) (*DescribeRemoteRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) DescribeRevision(context.Context, *DescribeRevisionRequest) (*DescribeRevisionResponse, error)
- func (UnimplementedRepositoryServiceServer) Fork(context.Context, *ForkRequest) (*ForkResponse, error)
- func (UnimplementedRepositoryServiceServer) GetChangedFilePaths(context.Context, *GetChangedFilePathsRequest) (*GetChangedFilePathsResponse, error)
- func (UnimplementedRepositoryServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
- func (UnimplementedRepositoryServiceServer) GetFiles(context.Context, *GetFilesRequest) (*GetFilesResponse, error)
- func (UnimplementedRepositoryServiceServer) GetSshKey(context.Context, *GetSshKeyRequest) (*GetSshKeyResponse, error)
- func (UnimplementedRepositoryServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedRepositoryServiceServer) ListAccessibleRepositories(context.Context, *ListAccessibleRepositoriesRequest) (*ListAccessibleRepositoriesResponse, error)
- func (UnimplementedRepositoryServiceServer) ListCollaborators(context.Context, *ListCollaboratorsRequest) (*ListCollaboratorsResponse, error)
- func (UnimplementedRepositoryServiceServer) RegenerateDeployKey(context.Context, *RegenerateDeployKeyRequest) (*RegenerateDeployKeyResponse, error)
- func (UnimplementedRepositoryServiceServer) RegenerateWebhook(context.Context, *RegenerateWebhookRequest) (*RegenerateWebhookResponse, error)
- func (UnimplementedRepositoryServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- func (UnimplementedRepositoryServiceServer) VerifyWebhookSignature(context.Context, *VerifyWebhookSignatureRequest) (*VerifyWebhookSignatureResponse, error)
- type UnsafeRepositoryServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
- func (x *UpdateRequest) GetDefaultBranch() string
- func (x *UpdateRequest) GetIntegrationType() repository_integrator.IntegrationType
- func (x *UpdateRequest) GetPipelineFile() string
- func (x *UpdateRequest) GetRepositoryId() string
- func (x *UpdateRequest) GetUrl() string
- func (x *UpdateRequest) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type VerifyWebhookSignatureRequest
- func (*VerifyWebhookSignatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWebhookSignatureRequest) GetOrganizationId() string
- func (x *VerifyWebhookSignatureRequest) GetPayload() string
- func (x *VerifyWebhookSignatureRequest) GetRepositoryId() string
- func (x *VerifyWebhookSignatureRequest) GetSignature() string
- func (*VerifyWebhookSignatureRequest) ProtoMessage()
- func (x *VerifyWebhookSignatureRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyWebhookSignatureRequest) Reset()
- func (x *VerifyWebhookSignatureRequest) String() string
- type VerifyWebhookSignatureResponse
- func (*VerifyWebhookSignatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWebhookSignatureResponse) GetValid() bool
- func (*VerifyWebhookSignatureResponse) ProtoMessage()
- func (x *VerifyWebhookSignatureResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyWebhookSignatureResponse) Reset()
- func (x *VerifyWebhookSignatureResponse) String() string
- type Webhook
Constants ¶
const ( RepositoryService_Describe_FullMethodName = "/InternalApi.Repository.RepositoryService/Describe" RepositoryService_DescribeMany_FullMethodName = "/InternalApi.Repository.RepositoryService/DescribeMany" RepositoryService_List_FullMethodName = "/InternalApi.Repository.RepositoryService/List" RepositoryService_Create_FullMethodName = "/InternalApi.Repository.RepositoryService/Create" RepositoryService_Update_FullMethodName = "/InternalApi.Repository.RepositoryService/Update" RepositoryService_Delete_FullMethodName = "/InternalApi.Repository.RepositoryService/Delete" RepositoryService_GetFile_FullMethodName = "/InternalApi.Repository.RepositoryService/GetFile" RepositoryService_GetFiles_FullMethodName = "/InternalApi.Repository.RepositoryService/GetFiles" RepositoryService_GetChangedFilePaths_FullMethodName = "/InternalApi.Repository.RepositoryService/GetChangedFilePaths" RepositoryService_Commit_FullMethodName = "/InternalApi.Repository.RepositoryService/Commit" RepositoryService_GetSshKey_FullMethodName = "/InternalApi.Repository.RepositoryService/GetSshKey" RepositoryService_ListAccessibleRepositories_FullMethodName = "/InternalApi.Repository.RepositoryService/ListAccessibleRepositories" RepositoryService_ListCollaborators_FullMethodName = "/InternalApi.Repository.RepositoryService/ListCollaborators" RepositoryService_CreateBuildStatus_FullMethodName = "/InternalApi.Repository.RepositoryService/CreateBuildStatus" RepositoryService_CheckDeployKey_FullMethodName = "/InternalApi.Repository.RepositoryService/CheckDeployKey" RepositoryService_RegenerateDeployKey_FullMethodName = "/InternalApi.Repository.RepositoryService/RegenerateDeployKey" RepositoryService_CheckWebhook_FullMethodName = "/InternalApi.Repository.RepositoryService/CheckWebhook" RepositoryService_RegenerateWebhook_FullMethodName = "/InternalApi.Repository.RepositoryService/RegenerateWebhook" RepositoryService_Fork_FullMethodName = "/InternalApi.Repository.RepositoryService/Fork" RepositoryService_DescribeRemoteRepository_FullMethodName = "/InternalApi.Repository.RepositoryService/DescribeRemoteRepository" RepositoryService_DescribeRevision_FullMethodName = "/InternalApi.Repository.RepositoryService/DescribeRevision" RepositoryService_VerifyWebhookSignature_FullMethodName = "/InternalApi.Repository.RepositoryService/VerifyWebhookSignature" )
Variables ¶
var ( Collaborator_Permission_name = map[int32]string{ 0: "ADMIN", 1: "WRITE", 2: "READ", } Collaborator_Permission_value = map[string]int32{ "ADMIN": 0, "WRITE": 1, "READ": 2, } )
Enum value maps for Collaborator_Permission.
var ( CreateBuildStatusRequest_Status_name = map[int32]string{ 0: "SUCCESS", 1: "PENDING", 2: "FAILURE", 3: "STOPPED", } CreateBuildStatusRequest_Status_value = map[string]int32{ "SUCCESS": 0, "PENDING": 1, "FAILURE": 2, "STOPPED": 3, } )
Enum value maps for CreateBuildStatusRequest_Status.
var ( CreateBuildStatusResponse_Code_name = map[int32]string{ 0: "CUSTOM", 1: "OK", 2: "VALIDATION_FAILED", 3: "SERVICE_ERROR", 4: "UNAUTHORIZED", 5: "ACCOUNT_SUSPENDED", } CreateBuildStatusResponse_Code_value = map[string]int32{ "CUSTOM": 0, "OK": 1, "VALIDATION_FAILED": 2, "SERVICE_ERROR": 3, "UNAUTHORIZED": 4, "ACCOUNT_SUSPENDED": 5, } )
Enum value maps for CreateBuildStatusResponse_Code.
var ( GetChangedFilePathsRequest_ComparisonType_name = map[int32]string{ 0: "HEAD_TO_MERGE_BASE", 1: "HEAD_TO_HEAD", } GetChangedFilePathsRequest_ComparisonType_value = map[string]int32{ "HEAD_TO_MERGE_BASE": 0, "HEAD_TO_HEAD": 1, } )
Enum value maps for GetChangedFilePathsRequest_ComparisonType.
var ( CommitRequest_Change_Action_name = map[int32]string{ 0: "ADD_FILE", 1: "MODIFY_FILE", 2: "DELETE_FILE", } CommitRequest_Change_Action_value = map[string]int32{ "ADD_FILE": 0, "MODIFY_FILE": 1, "DELETE_FILE": 2, } )
Enum value maps for CommitRequest_Change_Action.
var File_repository_proto protoreflect.FileDescriptor
var RepositoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "InternalApi.Repository.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Describe", Handler: _RepositoryService_Describe_Handler, }, { MethodName: "DescribeMany", Handler: _RepositoryService_DescribeMany_Handler, }, { MethodName: "List", Handler: _RepositoryService_List_Handler, }, { MethodName: "Create", Handler: _RepositoryService_Create_Handler, }, { MethodName: "Update", Handler: _RepositoryService_Update_Handler, }, { MethodName: "Delete", Handler: _RepositoryService_Delete_Handler, }, { MethodName: "GetFile", Handler: _RepositoryService_GetFile_Handler, }, { MethodName: "GetFiles", Handler: _RepositoryService_GetFiles_Handler, }, { MethodName: "GetChangedFilePaths", Handler: _RepositoryService_GetChangedFilePaths_Handler, }, { MethodName: "Commit", Handler: _RepositoryService_Commit_Handler, }, { MethodName: "GetSshKey", Handler: _RepositoryService_GetSshKey_Handler, }, { MethodName: "ListAccessibleRepositories", Handler: _RepositoryService_ListAccessibleRepositories_Handler, }, { MethodName: "ListCollaborators", Handler: _RepositoryService_ListCollaborators_Handler, }, { MethodName: "CreateBuildStatus", Handler: _RepositoryService_CreateBuildStatus_Handler, }, { MethodName: "CheckDeployKey", Handler: _RepositoryService_CheckDeployKey_Handler, }, { MethodName: "RegenerateDeployKey", Handler: _RepositoryService_RegenerateDeployKey_Handler, }, { MethodName: "CheckWebhook", Handler: _RepositoryService_CheckWebhook_Handler, }, { MethodName: "RegenerateWebhook", Handler: _RepositoryService_RegenerateWebhook_Handler, }, { MethodName: "Fork", Handler: _RepositoryService_Fork_Handler, }, { MethodName: "DescribeRemoteRepository", Handler: _RepositoryService_DescribeRemoteRepository_Handler, }, { MethodName: "DescribeRevision", Handler: _RepositoryService_DescribeRevision_Handler, }, { MethodName: "VerifyWebhookSignature", Handler: _RepositoryService_VerifyWebhookSignature_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "repository.proto", }
RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRepositoryServiceServer ¶
func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
Types ¶
type CheckDeployKeyRequest ¶
type CheckDeployKeyRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*CheckDeployKeyRequest) Descriptor
deprecated
func (*CheckDeployKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckDeployKeyRequest.ProtoReflect.Descriptor instead.
func (*CheckDeployKeyRequest) GetRepositoryId ¶
func (x *CheckDeployKeyRequest) GetRepositoryId() string
func (*CheckDeployKeyRequest) ProtoMessage ¶
func (*CheckDeployKeyRequest) ProtoMessage()
func (*CheckDeployKeyRequest) ProtoReflect ¶
func (x *CheckDeployKeyRequest) ProtoReflect() protoreflect.Message
func (*CheckDeployKeyRequest) Reset ¶
func (x *CheckDeployKeyRequest) Reset()
func (*CheckDeployKeyRequest) String ¶
func (x *CheckDeployKeyRequest) String() string
type CheckDeployKeyResponse ¶
type CheckDeployKeyResponse struct { DeployKey *DeployKey `protobuf:"bytes,1,opt,name=deploy_key,json=deployKey,proto3" json:"deploy_key,omitempty"` // contains filtered or unexported fields }
func (*CheckDeployKeyResponse) Descriptor
deprecated
func (*CheckDeployKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckDeployKeyResponse.ProtoReflect.Descriptor instead.
func (*CheckDeployKeyResponse) GetDeployKey ¶
func (x *CheckDeployKeyResponse) GetDeployKey() *DeployKey
func (*CheckDeployKeyResponse) ProtoMessage ¶
func (*CheckDeployKeyResponse) ProtoMessage()
func (*CheckDeployKeyResponse) ProtoReflect ¶
func (x *CheckDeployKeyResponse) ProtoReflect() protoreflect.Message
func (*CheckDeployKeyResponse) Reset ¶
func (x *CheckDeployKeyResponse) Reset()
func (*CheckDeployKeyResponse) String ¶
func (x *CheckDeployKeyResponse) String() string
type CheckWebhookRequest ¶
type CheckWebhookRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*CheckWebhookRequest) Descriptor
deprecated
func (*CheckWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckWebhookRequest.ProtoReflect.Descriptor instead.
func (*CheckWebhookRequest) GetRepositoryId ¶
func (x *CheckWebhookRequest) GetRepositoryId() string
func (*CheckWebhookRequest) ProtoMessage ¶
func (*CheckWebhookRequest) ProtoMessage()
func (*CheckWebhookRequest) ProtoReflect ¶
func (x *CheckWebhookRequest) ProtoReflect() protoreflect.Message
func (*CheckWebhookRequest) Reset ¶
func (x *CheckWebhookRequest) Reset()
func (*CheckWebhookRequest) String ¶
func (x *CheckWebhookRequest) String() string
type CheckWebhookResponse ¶
type CheckWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*CheckWebhookResponse) Descriptor
deprecated
func (*CheckWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckWebhookResponse.ProtoReflect.Descriptor instead.
func (*CheckWebhookResponse) GetWebhook ¶
func (x *CheckWebhookResponse) GetWebhook() *Webhook
func (*CheckWebhookResponse) ProtoMessage ¶
func (*CheckWebhookResponse) ProtoMessage()
func (*CheckWebhookResponse) ProtoReflect ¶
func (x *CheckWebhookResponse) ProtoReflect() protoreflect.Message
func (*CheckWebhookResponse) Reset ¶
func (x *CheckWebhookResponse) Reset()
func (*CheckWebhookResponse) String ¶
func (x *CheckWebhookResponse) String() string
type Collaborator ¶
type Collaborator struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` Permission Collaborator_Permission `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Collaborator) Descriptor
deprecated
func (*Collaborator) Descriptor() ([]byte, []int)
Deprecated: Use Collaborator.ProtoReflect.Descriptor instead.
func (*Collaborator) GetId ¶
func (x *Collaborator) GetId() string
func (*Collaborator) GetLogin ¶
func (x *Collaborator) GetLogin() string
func (*Collaborator) GetPermission ¶
func (x *Collaborator) GetPermission() Collaborator_Permission
func (*Collaborator) ProtoMessage ¶
func (*Collaborator) ProtoMessage()
func (*Collaborator) ProtoReflect ¶
func (x *Collaborator) ProtoReflect() protoreflect.Message
func (*Collaborator) Reset ¶
func (x *Collaborator) Reset()
func (*Collaborator) String ¶
func (x *Collaborator) String() string
type Collaborator_Permission ¶
type Collaborator_Permission int32
const ( Collaborator_ADMIN Collaborator_Permission = 0 Collaborator_WRITE Collaborator_Permission = 1 Collaborator_READ Collaborator_Permission = 2 )
func (Collaborator_Permission) Descriptor ¶
func (Collaborator_Permission) Descriptor() protoreflect.EnumDescriptor
func (Collaborator_Permission) Enum ¶
func (x Collaborator_Permission) Enum() *Collaborator_Permission
func (Collaborator_Permission) EnumDescriptor
deprecated
func (Collaborator_Permission) EnumDescriptor() ([]byte, []int)
Deprecated: Use Collaborator_Permission.Descriptor instead.
func (Collaborator_Permission) Number ¶
func (x Collaborator_Permission) Number() protoreflect.EnumNumber
func (Collaborator_Permission) String ¶
func (x Collaborator_Permission) String() string
func (Collaborator_Permission) Type ¶
func (Collaborator_Permission) Type() protoreflect.EnumType
type Commit ¶
type Commit struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` AuthorName string `protobuf:"bytes,3,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` AuthorUuid string `protobuf:"bytes,4,opt,name=author_uuid,json=authorUuid,proto3" json:"author_uuid,omitempty"` AuthorAvatarUrl string `protobuf:"bytes,5,opt,name=author_avatar_url,json=authorAvatarUrl,proto3" json:"author_avatar_url,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetAuthorAvatarUrl ¶
func (*Commit) GetAuthorName ¶
func (*Commit) GetAuthorUuid ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type CommitRequest ¶
type CommitRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` CommitMessage string `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` Changes []*CommitRequest_Change `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
repository_id = [required] The ID of a repository to which to commit. user_id = [required] The ID of a user who performs the commit. branch_name = [required] The ID of a branch within repository to which to commit. changes = [required] List of file changes.
Example:
CommitRequest.new( repository_id: "b2d6dc61-a97f-4cab-a20a-81bab6142993", user_id: "547b6b7d-adf0-4cd1-8f25-aec2b5da32c6", branch_name: "master", commit_message: "Hello from Semaphore!", changes: [ CommitRequest.Change.new( action: CommitRequest.Change.Action.ADD_FILE, file: File.new(path: "a.txt", content: "hello") ), CommitRequest.Change.new( action: CommitRequest.Change.Action.MODIFY_FILE, file: File.new(path: "b.txt", content: "hello") ), CommitRequest.Change.new( action: CommitRequest.Change.Action.MODIFY_FILE, file: File.new(path: "c.txt") ) ] )
func (*CommitRequest) Descriptor
deprecated
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetBranchName ¶
func (x *CommitRequest) GetBranchName() string
func (*CommitRequest) GetChanges ¶
func (x *CommitRequest) GetChanges() []*CommitRequest_Change
func (*CommitRequest) GetCommitMessage ¶
func (x *CommitRequest) GetCommitMessage() string
func (*CommitRequest) GetRepositoryId ¶
func (x *CommitRequest) GetRepositoryId() string
func (*CommitRequest) GetUserId ¶
func (x *CommitRequest) GetUserId() string
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect ¶
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset ¶
func (x *CommitRequest) Reset()
func (*CommitRequest) String ¶
func (x *CommitRequest) String() string
type CommitRequest_Change ¶
type CommitRequest_Change struct { Action CommitRequest_Change_Action `protobuf:"varint,1,opt,name=action,proto3,enum=InternalApi.Repository.CommitRequest_Change_Action" json:"action,omitempty"` File *File `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*CommitRequest_Change) Descriptor
deprecated
func (*CommitRequest_Change) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest_Change.ProtoReflect.Descriptor instead.
func (*CommitRequest_Change) GetAction ¶
func (x *CommitRequest_Change) GetAction() CommitRequest_Change_Action
func (*CommitRequest_Change) GetFile ¶
func (x *CommitRequest_Change) GetFile() *File
func (*CommitRequest_Change) ProtoMessage ¶
func (*CommitRequest_Change) ProtoMessage()
func (*CommitRequest_Change) ProtoReflect ¶
func (x *CommitRequest_Change) ProtoReflect() protoreflect.Message
func (*CommitRequest_Change) Reset ¶
func (x *CommitRequest_Change) Reset()
func (*CommitRequest_Change) String ¶
func (x *CommitRequest_Change) String() string
type CommitRequest_Change_Action ¶
type CommitRequest_Change_Action int32
const ( CommitRequest_Change_ADD_FILE CommitRequest_Change_Action = 0 CommitRequest_Change_MODIFY_FILE CommitRequest_Change_Action = 1 CommitRequest_Change_DELETE_FILE CommitRequest_Change_Action = 2 )
func (CommitRequest_Change_Action) Descriptor ¶
func (CommitRequest_Change_Action) Descriptor() protoreflect.EnumDescriptor
func (CommitRequest_Change_Action) Enum ¶
func (x CommitRequest_Change_Action) Enum() *CommitRequest_Change_Action
func (CommitRequest_Change_Action) EnumDescriptor
deprecated
func (CommitRequest_Change_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommitRequest_Change_Action.Descriptor instead.
func (CommitRequest_Change_Action) Number ¶
func (x CommitRequest_Change_Action) Number() protoreflect.EnumNumber
func (CommitRequest_Change_Action) String ¶
func (x CommitRequest_Change_Action) String() string
func (CommitRequest_Change_Action) Type ¶
func (CommitRequest_Change_Action) Type() protoreflect.EnumType
type CommitResponse ¶
type CommitResponse struct { Revision *Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
revision - [required] New revision.
func (*CommitResponse) Descriptor
deprecated
func (*CommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
func (*CommitResponse) GetRevision ¶
func (x *CommitResponse) GetRevision() *Revision
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) ProtoReflect ¶
func (x *CommitResponse) ProtoReflect() protoreflect.Message
func (*CommitResponse) Reset ¶
func (x *CommitResponse) Reset()
func (*CommitResponse) String ¶
func (x *CommitResponse) String() string
type CreateBuildStatusRequest ¶
type CreateBuildStatusRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` Status CreateBuildStatusRequest_Status `` /* 126-byte string literal not displayed */ Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Context string `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
repository_id - [required] Id of a repository commit_sha - [required] Commit SHA status - [required] Status url - [required] URL to the pipeline. description - [optional] If empty default one will be used, based on the status. context - [optional] The label to differentiate this status from the status of other blocks/pipelines.
func (*CreateBuildStatusRequest) Descriptor
deprecated
func (*CreateBuildStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBuildStatusRequest.ProtoReflect.Descriptor instead.
func (*CreateBuildStatusRequest) GetCommitSha ¶
func (x *CreateBuildStatusRequest) GetCommitSha() string
func (*CreateBuildStatusRequest) GetContext ¶
func (x *CreateBuildStatusRequest) GetContext() string
func (*CreateBuildStatusRequest) GetDescription ¶
func (x *CreateBuildStatusRequest) GetDescription() string
func (*CreateBuildStatusRequest) GetRepositoryId ¶
func (x *CreateBuildStatusRequest) GetRepositoryId() string
func (*CreateBuildStatusRequest) GetStatus ¶
func (x *CreateBuildStatusRequest) GetStatus() CreateBuildStatusRequest_Status
func (*CreateBuildStatusRequest) GetUrl ¶
func (x *CreateBuildStatusRequest) GetUrl() string
func (*CreateBuildStatusRequest) ProtoMessage ¶
func (*CreateBuildStatusRequest) ProtoMessage()
func (*CreateBuildStatusRequest) ProtoReflect ¶
func (x *CreateBuildStatusRequest) ProtoReflect() protoreflect.Message
func (*CreateBuildStatusRequest) Reset ¶
func (x *CreateBuildStatusRequest) Reset()
func (*CreateBuildStatusRequest) String ¶
func (x *CreateBuildStatusRequest) String() string
type CreateBuildStatusRequest_Status ¶
type CreateBuildStatusRequest_Status int32
const ( CreateBuildStatusRequest_SUCCESS CreateBuildStatusRequest_Status = 0 CreateBuildStatusRequest_PENDING CreateBuildStatusRequest_Status = 1 CreateBuildStatusRequest_FAILURE CreateBuildStatusRequest_Status = 2 CreateBuildStatusRequest_STOPPED CreateBuildStatusRequest_Status = 3 )
func (CreateBuildStatusRequest_Status) Descriptor ¶
func (CreateBuildStatusRequest_Status) Descriptor() protoreflect.EnumDescriptor
func (CreateBuildStatusRequest_Status) Enum ¶
func (x CreateBuildStatusRequest_Status) Enum() *CreateBuildStatusRequest_Status
func (CreateBuildStatusRequest_Status) EnumDescriptor
deprecated
func (CreateBuildStatusRequest_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateBuildStatusRequest_Status.Descriptor instead.
func (CreateBuildStatusRequest_Status) Number ¶
func (x CreateBuildStatusRequest_Status) Number() protoreflect.EnumNumber
func (CreateBuildStatusRequest_Status) String ¶
func (x CreateBuildStatusRequest_Status) String() string
func (CreateBuildStatusRequest_Status) Type ¶
func (CreateBuildStatusRequest_Status) Type() protoreflect.EnumType
type CreateBuildStatusResponse ¶
type CreateBuildStatusResponse struct { Code CreateBuildStatusResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=InternalApi.Repository.CreateBuildStatusResponse_Code" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CreateBuildStatusResponse) Descriptor
deprecated
func (*CreateBuildStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBuildStatusResponse.ProtoReflect.Descriptor instead.
func (*CreateBuildStatusResponse) GetCode ¶
func (x *CreateBuildStatusResponse) GetCode() CreateBuildStatusResponse_Code
func (*CreateBuildStatusResponse) ProtoMessage ¶
func (*CreateBuildStatusResponse) ProtoMessage()
func (*CreateBuildStatusResponse) ProtoReflect ¶
func (x *CreateBuildStatusResponse) ProtoReflect() protoreflect.Message
func (*CreateBuildStatusResponse) Reset ¶
func (x *CreateBuildStatusResponse) Reset()
func (*CreateBuildStatusResponse) String ¶
func (x *CreateBuildStatusResponse) String() string
type CreateBuildStatusResponse_Code ¶
type CreateBuildStatusResponse_Code int32
const ( CreateBuildStatusResponse_CUSTOM CreateBuildStatusResponse_Code = 0 CreateBuildStatusResponse_OK CreateBuildStatusResponse_Code = 1 CreateBuildStatusResponse_VALIDATION_FAILED CreateBuildStatusResponse_Code = 2 // "This SHA and context has reached the maximum number of statuses.", CreateBuildStatusResponse_SERVICE_ERROR CreateBuildStatusResponse_Code = 3 // Github API returned status code 500 // service unavailable // timeout CreateBuildStatusResponse_UNAUTHORIZED CreateBuildStatusResponse_Code = 4 // Bad credentials CreateBuildStatusResponse_ACCOUNT_SUSPENDED CreateBuildStatusResponse_Code = 5 // Sorry. Your account was suspended.: )
func (CreateBuildStatusResponse_Code) Descriptor ¶
func (CreateBuildStatusResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (CreateBuildStatusResponse_Code) Enum ¶
func (x CreateBuildStatusResponse_Code) Enum() *CreateBuildStatusResponse_Code
func (CreateBuildStatusResponse_Code) EnumDescriptor
deprecated
func (CreateBuildStatusResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateBuildStatusResponse_Code.Descriptor instead.
func (CreateBuildStatusResponse_Code) Number ¶
func (x CreateBuildStatusResponse_Code) Number() protoreflect.EnumNumber
func (CreateBuildStatusResponse_Code) String ¶
func (x CreateBuildStatusResponse_Code) String() string
func (CreateBuildStatusResponse_Code) Type ¶
func (CreateBuildStatusResponse_Code) Type() protoreflect.EnumType
type CreateRequest ¶
type CreateRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PipelineFile string `protobuf:"bytes,3,opt,name=pipeline_file,json=pipelineFile,proto3" json:"pipeline_file,omitempty"` RepositoryUrl string `protobuf:"bytes,4,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"` RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` OnlyPublic bool `protobuf:"varint,6,opt,name=only_public,json=onlyPublic,proto3" json:"only_public,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ CommitStatus *projecthub.Project_Spec_Repository_Status `protobuf:"bytes,8,opt,name=commit_status,json=commitStatus,proto3" json:"commit_status,omitempty"` Whitelist *projecthub.Project_Spec_Repository_Whitelist `protobuf:"bytes,9,opt,name=whitelist,proto3" json:"whitelist,omitempty"` DefaultBranch string `protobuf:"bytes,10,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
project_id - TODO user_id - needed for git authentication pipeline_file - location of main pipeline file repository_url - specification for creating a project only_public - when set to true only public git repositories are allowed
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetCommitStatus ¶
func (x *CreateRequest) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
func (*CreateRequest) GetDefaultBranch ¶
func (x *CreateRequest) GetDefaultBranch() string
func (*CreateRequest) GetIntegrationType ¶
func (x *CreateRequest) GetIntegrationType() repository_integrator.IntegrationType
func (*CreateRequest) GetOnlyPublic ¶
func (x *CreateRequest) GetOnlyPublic() bool
func (*CreateRequest) GetPipelineFile ¶
func (x *CreateRequest) GetPipelineFile() string
func (*CreateRequest) GetProjectId ¶
func (x *CreateRequest) GetProjectId() string
func (*CreateRequest) GetRepositoryUrl ¶
func (x *CreateRequest) GetRepositoryUrl() string
func (*CreateRequest) GetRequestId ¶
func (x *CreateRequest) GetRequestId() string
func (*CreateRequest) GetUserId ¶
func (x *CreateRequest) GetUserId() string
func (*CreateRequest) GetWhitelist ¶
func (x *CreateRequest) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
repository = [required] Created/Updated repository.
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetRepository ¶
func (x *CreateResponse) GetRepository() *Repository
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
repository_id = [required] id of the repository to be deleted.
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetRepositoryId ¶
func (x *DeleteRequest) GetRepositoryId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
repository = [required] Deleted repository.
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetRepository ¶
func (x *DeleteResponse) GetRepository() *Repository
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DeployKey ¶
type DeployKey struct { // - title = [required] name of an deploy key Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // - fingerprint = [required] fingerprint of an public key Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // - created_at = [required] timestamp of creation CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*DeployKey) Descriptor
deprecated
func (*DeployKey) GetCreatedAt ¶
func (*DeployKey) GetFingerprint ¶
func (*DeployKey) ProtoMessage ¶
func (*DeployKey) ProtoMessage()
func (*DeployKey) ProtoReflect ¶
func (x *DeployKey) ProtoReflect() protoreflect.Message
type DescribeManyRequest ¶
type DescribeManyRequest struct { RepositoryIds []string `protobuf:"bytes,1,rep,name=repository_ids,json=repositoryIds,proto3" json:"repository_ids,omitempty"` ProjectIds []string `protobuf:"bytes,2,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` // contains filtered or unexported fields }
func (*DescribeManyRequest) Descriptor
deprecated
func (*DescribeManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeManyRequest.ProtoReflect.Descriptor instead.
func (*DescribeManyRequest) GetProjectIds ¶
func (x *DescribeManyRequest) GetProjectIds() []string
func (*DescribeManyRequest) GetRepositoryIds ¶
func (x *DescribeManyRequest) GetRepositoryIds() []string
func (*DescribeManyRequest) ProtoMessage ¶
func (*DescribeManyRequest) ProtoMessage()
func (*DescribeManyRequest) ProtoReflect ¶
func (x *DescribeManyRequest) ProtoReflect() protoreflect.Message
func (*DescribeManyRequest) Reset ¶
func (x *DescribeManyRequest) Reset()
func (*DescribeManyRequest) String ¶
func (x *DescribeManyRequest) String() string
type DescribeManyResponse ¶
type DescribeManyResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*DescribeManyResponse) Descriptor
deprecated
func (*DescribeManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeManyResponse.ProtoReflect.Descriptor instead.
func (*DescribeManyResponse) GetRepositories ¶
func (x *DescribeManyResponse) GetRepositories() []*Repository
func (*DescribeManyResponse) ProtoMessage ¶
func (*DescribeManyResponse) ProtoMessage()
func (*DescribeManyResponse) ProtoReflect ¶
func (x *DescribeManyResponse) ProtoReflect() protoreflect.Message
func (*DescribeManyResponse) Reset ¶
func (x *DescribeManyResponse) Reset()
func (*DescribeManyResponse) String ¶
func (x *DescribeManyResponse) String() string
type DescribeRemoteRepositoryRequest ¶
type DescribeRemoteRepositoryRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*DescribeRemoteRepositoryRequest) Descriptor
deprecated
func (*DescribeRemoteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRemoteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DescribeRemoteRepositoryRequest) GetIntegrationType ¶
func (x *DescribeRemoteRepositoryRequest) GetIntegrationType() repository_integrator.IntegrationType
func (*DescribeRemoteRepositoryRequest) GetUrl ¶
func (x *DescribeRemoteRepositoryRequest) GetUrl() string
func (*DescribeRemoteRepositoryRequest) GetUserId ¶
func (x *DescribeRemoteRepositoryRequest) GetUserId() string
func (*DescribeRemoteRepositoryRequest) ProtoMessage ¶
func (*DescribeRemoteRepositoryRequest) ProtoMessage()
func (*DescribeRemoteRepositoryRequest) ProtoReflect ¶
func (x *DescribeRemoteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DescribeRemoteRepositoryRequest) Reset ¶
func (x *DescribeRemoteRepositoryRequest) Reset()
func (*DescribeRemoteRepositoryRequest) String ¶
func (x *DescribeRemoteRepositoryRequest) String() string
type DescribeRemoteRepositoryResponse ¶
type DescribeRemoteRepositoryResponse struct { RemoteRepository *RemoteRepository `protobuf:"bytes,1,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` // contains filtered or unexported fields }
func (*DescribeRemoteRepositoryResponse) Descriptor
deprecated
func (*DescribeRemoteRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRemoteRepositoryResponse.ProtoReflect.Descriptor instead.
func (*DescribeRemoteRepositoryResponse) GetRemoteRepository ¶
func (x *DescribeRemoteRepositoryResponse) GetRemoteRepository() *RemoteRepository
func (*DescribeRemoteRepositoryResponse) ProtoMessage ¶
func (*DescribeRemoteRepositoryResponse) ProtoMessage()
func (*DescribeRemoteRepositoryResponse) ProtoReflect ¶
func (x *DescribeRemoteRepositoryResponse) ProtoReflect() protoreflect.Message
func (*DescribeRemoteRepositoryResponse) Reset ¶
func (x *DescribeRemoteRepositoryResponse) Reset()
func (*DescribeRemoteRepositoryResponse) String ¶
func (x *DescribeRemoteRepositoryResponse) String() string
type DescribeRequest ¶
type DescribeRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` IncludePrivateSshKey bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DescribeRequest) Descriptor
deprecated
func (*DescribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.
func (*DescribeRequest) GetIncludePrivateSshKey ¶
func (x *DescribeRequest) GetIncludePrivateSshKey() bool
func (*DescribeRequest) GetRepositoryId ¶
func (x *DescribeRequest) GetRepositoryId() string
func (*DescribeRequest) ProtoMessage ¶
func (*DescribeRequest) ProtoMessage()
func (*DescribeRequest) ProtoReflect ¶
func (x *DescribeRequest) ProtoReflect() protoreflect.Message
func (*DescribeRequest) Reset ¶
func (x *DescribeRequest) Reset()
func (*DescribeRequest) String ¶
func (x *DescribeRequest) String() string
type DescribeResponse ¶
type DescribeResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` PrivateSshKey string `protobuf:"bytes,2,opt,name=private_ssh_key,json=privateSshKey,proto3" json:"private_ssh_key,omitempty"` // contains filtered or unexported fields }
func (*DescribeResponse) Descriptor
deprecated
func (*DescribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.
func (*DescribeResponse) GetPrivateSshKey ¶
func (x *DescribeResponse) GetPrivateSshKey() string
func (*DescribeResponse) GetRepository ¶
func (x *DescribeResponse) GetRepository() *Repository
func (*DescribeResponse) ProtoMessage ¶
func (*DescribeResponse) ProtoMessage()
func (*DescribeResponse) ProtoReflect ¶
func (x *DescribeResponse) ProtoReflect() protoreflect.Message
func (*DescribeResponse) Reset ¶
func (x *DescribeResponse) Reset()
func (*DescribeResponse) String ¶
func (x *DescribeResponse) String() string
type DescribeRevisionRequest ¶
type DescribeRevisionRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` Revision *Revision `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*DescribeRevisionRequest) Descriptor
deprecated
func (*DescribeRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRevisionRequest.ProtoReflect.Descriptor instead.
func (*DescribeRevisionRequest) GetRepositoryId ¶
func (x *DescribeRevisionRequest) GetRepositoryId() string
func (*DescribeRevisionRequest) GetRevision ¶
func (x *DescribeRevisionRequest) GetRevision() *Revision
func (*DescribeRevisionRequest) ProtoMessage ¶
func (*DescribeRevisionRequest) ProtoMessage()
func (*DescribeRevisionRequest) ProtoReflect ¶
func (x *DescribeRevisionRequest) ProtoReflect() protoreflect.Message
func (*DescribeRevisionRequest) Reset ¶
func (x *DescribeRevisionRequest) Reset()
func (*DescribeRevisionRequest) String ¶
func (x *DescribeRevisionRequest) String() string
type DescribeRevisionResponse ¶
type DescribeRevisionResponse struct { Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*DescribeRevisionResponse) Descriptor
deprecated
func (*DescribeRevisionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRevisionResponse.ProtoReflect.Descriptor instead.
func (*DescribeRevisionResponse) GetCommit ¶
func (x *DescribeRevisionResponse) GetCommit() *Commit
func (*DescribeRevisionResponse) ProtoMessage ¶
func (*DescribeRevisionResponse) ProtoMessage()
func (*DescribeRevisionResponse) ProtoReflect ¶
func (x *DescribeRevisionResponse) ProtoReflect() protoreflect.Message
func (*DescribeRevisionResponse) Reset ¶
func (x *DescribeRevisionResponse) Reset()
func (*DescribeRevisionResponse) String ¶
func (x *DescribeRevisionResponse) String() string
type File ¶
type File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
path - [required] The path of a file. content - [required] The content of a file.
func (*File) Descriptor
deprecated
func (*File) GetContent ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type ForkRequest ¶
type ForkRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*ForkRequest) Descriptor
deprecated
func (*ForkRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForkRequest.ProtoReflect.Descriptor instead.
func (*ForkRequest) GetIntegrationType ¶
func (x *ForkRequest) GetIntegrationType() repository_integrator.IntegrationType
func (*ForkRequest) GetUrl ¶
func (x *ForkRequest) GetUrl() string
func (*ForkRequest) GetUserId ¶
func (x *ForkRequest) GetUserId() string
func (*ForkRequest) ProtoMessage ¶
func (*ForkRequest) ProtoMessage()
func (*ForkRequest) ProtoReflect ¶
func (x *ForkRequest) ProtoReflect() protoreflect.Message
func (*ForkRequest) Reset ¶
func (x *ForkRequest) Reset()
func (*ForkRequest) String ¶
func (x *ForkRequest) String() string
type ForkResponse ¶
type ForkResponse struct { RemoteRepository *RemoteRepository `protobuf:"bytes,1,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` // contains filtered or unexported fields }
func (*ForkResponse) Descriptor
deprecated
func (*ForkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForkResponse.ProtoReflect.Descriptor instead.
func (*ForkResponse) GetRemoteRepository ¶
func (x *ForkResponse) GetRemoteRepository() *RemoteRepository
func (*ForkResponse) ProtoMessage ¶
func (*ForkResponse) ProtoMessage()
func (*ForkResponse) ProtoReflect ¶
func (x *ForkResponse) ProtoReflect() protoreflect.Message
func (*ForkResponse) Reset ¶
func (x *ForkResponse) Reset()
func (*ForkResponse) String ¶
func (x *ForkResponse) String() string
type GetChangedFilePathsRequest ¶
type GetChangedFilePathsRequest struct { HeadRev *Revision `protobuf:"bytes,1,opt,name=head_rev,json=headRev,proto3" json:"head_rev,omitempty"` BaseRev *Revision `protobuf:"bytes,2,opt,name=base_rev,json=baseRev,proto3" json:"base_rev,omitempty"` RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` ComparisonType GetChangedFilePathsRequest_ComparisonType `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
head_rev - [required] The revision until which to get changed file paths. base_rev - [optional] The revision since which to get changed file paths. repository_id - [required] The repository ID where the commit exists. comparison_type - [required] The type of comparison between head and base revision
when they are given as branch references (not commits).
func (*GetChangedFilePathsRequest) Descriptor
deprecated
func (*GetChangedFilePathsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChangedFilePathsRequest.ProtoReflect.Descriptor instead.
func (*GetChangedFilePathsRequest) GetBaseRev ¶
func (x *GetChangedFilePathsRequest) GetBaseRev() *Revision
func (*GetChangedFilePathsRequest) GetComparisonType ¶
func (x *GetChangedFilePathsRequest) GetComparisonType() GetChangedFilePathsRequest_ComparisonType
func (*GetChangedFilePathsRequest) GetHeadRev ¶
func (x *GetChangedFilePathsRequest) GetHeadRev() *Revision
func (*GetChangedFilePathsRequest) GetRepositoryId ¶
func (x *GetChangedFilePathsRequest) GetRepositoryId() string
func (*GetChangedFilePathsRequest) ProtoMessage ¶
func (*GetChangedFilePathsRequest) ProtoMessage()
func (*GetChangedFilePathsRequest) ProtoReflect ¶
func (x *GetChangedFilePathsRequest) ProtoReflect() protoreflect.Message
func (*GetChangedFilePathsRequest) Reset ¶
func (x *GetChangedFilePathsRequest) Reset()
func (*GetChangedFilePathsRequest) String ¶
func (x *GetChangedFilePathsRequest) String() string
type GetChangedFilePathsRequest_ComparisonType ¶
type GetChangedFilePathsRequest_ComparisonType int32
The type of comparison between head and base revision, only important if revisions are given as references to branches.
Types:
HEAD_TO_HEAD - compares HEAD commits for both branches HEAD_TO_MERGE_BASE - compares the HEAD of head_rev branch to a commit that
is the best common ancestor for head_rev and base_rev branches
more info: https://git-scm.com/docs/git-merge-base#_discussion
const ( GetChangedFilePathsRequest_HEAD_TO_MERGE_BASE GetChangedFilePathsRequest_ComparisonType = 0 GetChangedFilePathsRequest_HEAD_TO_HEAD GetChangedFilePathsRequest_ComparisonType = 1 )
func (GetChangedFilePathsRequest_ComparisonType) Descriptor ¶
func (GetChangedFilePathsRequest_ComparisonType) Descriptor() protoreflect.EnumDescriptor
func (GetChangedFilePathsRequest_ComparisonType) EnumDescriptor
deprecated
func (GetChangedFilePathsRequest_ComparisonType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetChangedFilePathsRequest_ComparisonType.Descriptor instead.
func (GetChangedFilePathsRequest_ComparisonType) Number ¶
func (x GetChangedFilePathsRequest_ComparisonType) Number() protoreflect.EnumNumber
func (GetChangedFilePathsRequest_ComparisonType) String ¶
func (x GetChangedFilePathsRequest_ComparisonType) String() string
func (GetChangedFilePathsRequest_ComparisonType) Type ¶
func (GetChangedFilePathsRequest_ComparisonType) Type() protoreflect.EnumType
type GetChangedFilePathsResponse ¶
type GetChangedFilePathsResponse struct { ChangedFilePaths []string `protobuf:"bytes,1,rep,name=changed_file_paths,json=changedFilePaths,proto3" json:"changed_file_paths,omitempty"` // contains filtered or unexported fields }
changed_files = [required] The list of files which were changed.
func (*GetChangedFilePathsResponse) Descriptor
deprecated
func (*GetChangedFilePathsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChangedFilePathsResponse.ProtoReflect.Descriptor instead.
func (*GetChangedFilePathsResponse) GetChangedFilePaths ¶
func (x *GetChangedFilePathsResponse) GetChangedFilePaths() []string
func (*GetChangedFilePathsResponse) ProtoMessage ¶
func (*GetChangedFilePathsResponse) ProtoMessage()
func (*GetChangedFilePathsResponse) ProtoReflect ¶
func (x *GetChangedFilePathsResponse) ProtoReflect() protoreflect.Message
func (*GetChangedFilePathsResponse) Reset ¶
func (x *GetChangedFilePathsResponse) Reset()
func (*GetChangedFilePathsResponse) String ¶
func (x *GetChangedFilePathsResponse) String() string
type GetFileRequest ¶
type GetFileRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
repository_id - [required] The repository ID for which to get file. commit_sha - [required] The commit sha for which to get file. path - [required] The path to the file.
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetCommitSha ¶
func (x *GetFileRequest) GetCommitSha() string
func (*GetFileRequest) GetPath ¶
func (x *GetFileRequest) GetPath() string
func (*GetFileRequest) GetRepositoryId ¶
func (x *GetFileRequest) GetRepositoryId() string
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
type GetFileResponse ¶
type GetFileResponse struct { File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
file - [required] requested file.
func (*GetFileResponse) Descriptor
deprecated
func (*GetFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
func (*GetFileResponse) GetFile ¶
func (x *GetFileResponse) GetFile() *File
func (*GetFileResponse) ProtoMessage ¶
func (*GetFileResponse) ProtoMessage()
func (*GetFileResponse) ProtoReflect ¶
func (x *GetFileResponse) ProtoReflect() protoreflect.Message
func (*GetFileResponse) Reset ¶
func (x *GetFileResponse) Reset()
func (*GetFileResponse) String ¶
func (x *GetFileResponse) String() string
type GetFilesRequest ¶
type GetFilesRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` Revision *Revision `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` Selectors []*GetFilesRequest_Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty"` IncludeContent bool `protobuf:"varint,4,opt,name=include_content,json=includeContent,proto3" json:"include_content,omitempty"` // contains filtered or unexported fields }
repository_id - [required] The repository ID for which to get files. revision - [required] The revision for which to get files. include_content - [optional] Should the response include the files content. Default is false. selectors - [required] List of selectors based on which to look for a file.
selectors are combined with OR for to lookup files.
Examples:
Getting all YAML files:
GetFilesRequest( repository_id: "...", revision: Revision.new(...), selectors: [ // all files from .semaphore Selector.new(glob: ".semaphore/**/*.{yaml,yml}"),
// all yaml files from the repo that has Semaphore YAML characteristics Selector.new(glob: "**/*.{yaml,yml}", content_regex: ".*^blocks:.*^agent:.*^version:.*") ], include_content: true )
List all JS files:
GetFilesRequest( repository_id: "...", revision: Revision.new(...), selectors: [ Selector.new(glob: "**/*.js"), ], include_content: false )
Getting multiple files with well defined paths:
GetFilesRequest( repository_id: "...", revision: Revision.new(...), selectors: [ Selector.new(glob: "Gemfile"), Selector.new(glob: "Gemfile.lock") ] )
func (*GetFilesRequest) Descriptor
deprecated
func (*GetFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFilesRequest.ProtoReflect.Descriptor instead.
func (*GetFilesRequest) GetIncludeContent ¶
func (x *GetFilesRequest) GetIncludeContent() bool
func (*GetFilesRequest) GetRepositoryId ¶
func (x *GetFilesRequest) GetRepositoryId() string
func (*GetFilesRequest) GetRevision ¶
func (x *GetFilesRequest) GetRevision() *Revision
func (*GetFilesRequest) GetSelectors ¶
func (x *GetFilesRequest) GetSelectors() []*GetFilesRequest_Selector
func (*GetFilesRequest) ProtoMessage ¶
func (*GetFilesRequest) ProtoMessage()
func (*GetFilesRequest) ProtoReflect ¶
func (x *GetFilesRequest) ProtoReflect() protoreflect.Message
func (*GetFilesRequest) Reset ¶
func (x *GetFilesRequest) Reset()
func (*GetFilesRequest) String ¶
func (x *GetFilesRequest) String() string
type GetFilesRequest_Selector ¶
type GetFilesRequest_Selector struct { Glob string `protobuf:"bytes,1,opt,name=glob,proto3" json:"glob,omitempty"` ContentRegex string `protobuf:"bytes,2,opt,name=content_regex,json=contentRegex,proto3" json:"content_regex,omitempty"` // contains filtered or unexported fields }
func (*GetFilesRequest_Selector) Descriptor
deprecated
func (*GetFilesRequest_Selector) Descriptor() ([]byte, []int)
Deprecated: Use GetFilesRequest_Selector.ProtoReflect.Descriptor instead.
func (*GetFilesRequest_Selector) GetContentRegex ¶
func (x *GetFilesRequest_Selector) GetContentRegex() string
func (*GetFilesRequest_Selector) GetGlob ¶
func (x *GetFilesRequest_Selector) GetGlob() string
func (*GetFilesRequest_Selector) ProtoMessage ¶
func (*GetFilesRequest_Selector) ProtoMessage()
func (*GetFilesRequest_Selector) ProtoReflect ¶
func (x *GetFilesRequest_Selector) ProtoReflect() protoreflect.Message
func (*GetFilesRequest_Selector) Reset ¶
func (x *GetFilesRequest_Selector) Reset()
func (*GetFilesRequest_Selector) String ¶
func (x *GetFilesRequest_Selector) String() string
type GetFilesResponse ¶
type GetFilesResponse struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
files - [required] Files that matched the patterns.
func (*GetFilesResponse) Descriptor
deprecated
func (*GetFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFilesResponse.ProtoReflect.Descriptor instead.
func (*GetFilesResponse) GetFiles ¶
func (x *GetFilesResponse) GetFiles() []*File
func (*GetFilesResponse) ProtoMessage ¶
func (*GetFilesResponse) ProtoMessage()
func (*GetFilesResponse) ProtoReflect ¶
func (x *GetFilesResponse) ProtoReflect() protoreflect.Message
func (*GetFilesResponse) Reset ¶
func (x *GetFilesResponse) Reset()
func (*GetFilesResponse) String ¶
func (x *GetFilesResponse) String() string
type GetSshKeyRequest ¶
type GetSshKeyRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
repository_id - [required] The repository ID for which to get key.
func (*GetSshKeyRequest) Descriptor
deprecated
func (*GetSshKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSshKeyRequest.ProtoReflect.Descriptor instead.
func (*GetSshKeyRequest) GetRepositoryId ¶
func (x *GetSshKeyRequest) GetRepositoryId() string
func (*GetSshKeyRequest) ProtoMessage ¶
func (*GetSshKeyRequest) ProtoMessage()
func (*GetSshKeyRequest) ProtoReflect ¶
func (x *GetSshKeyRequest) ProtoReflect() protoreflect.Message
func (*GetSshKeyRequest) Reset ¶
func (x *GetSshKeyRequest) Reset()
func (*GetSshKeyRequest) String ¶
func (x *GetSshKeyRequest) String() string
type GetSshKeyResponse ¶
type GetSshKeyResponse struct { PrivateSshKey string `protobuf:"bytes,1,opt,name=private_ssh_key,json=privateSshKey,proto3" json:"private_ssh_key,omitempty"` // contains filtered or unexported fields }
private_ssh_key - [required] Private SSH key for repository.
func (*GetSshKeyResponse) Descriptor
deprecated
func (*GetSshKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSshKeyResponse.ProtoReflect.Descriptor instead.
func (*GetSshKeyResponse) GetPrivateSshKey ¶
func (x *GetSshKeyResponse) GetPrivateSshKey() string
func (*GetSshKeyResponse) ProtoMessage ¶
func (*GetSshKeyResponse) ProtoMessage()
func (*GetSshKeyResponse) ProtoReflect ¶
func (x *GetSshKeyResponse) ProtoReflect() protoreflect.Message
func (*GetSshKeyResponse) Reset ¶
func (x *GetSshKeyResponse) Reset()
func (*GetSshKeyResponse) String ¶
func (x *GetSshKeyResponse) String() string
type ListAccessibleRepositoriesRequest ¶
type ListAccessibleRepositoriesRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OnlyPublic bool `protobuf:"varint,4,opt,name=only_public,json=onlyPublic,proto3" json:"only_public,omitempty"` // contains filtered or unexported fields }
page_token - [required] Starting point for listing, tokens for next page are returned in response.
If you are fetching first page leave it empty.
func (*ListAccessibleRepositoriesRequest) Descriptor
deprecated
func (*ListAccessibleRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessibleRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListAccessibleRepositoriesRequest) GetIntegrationType ¶
func (x *ListAccessibleRepositoriesRequest) GetIntegrationType() repository_integrator.IntegrationType
func (*ListAccessibleRepositoriesRequest) GetOnlyPublic ¶
func (x *ListAccessibleRepositoriesRequest) GetOnlyPublic() bool
func (*ListAccessibleRepositoriesRequest) GetPageToken ¶
func (x *ListAccessibleRepositoriesRequest) GetPageToken() string
func (*ListAccessibleRepositoriesRequest) GetUserId ¶
func (x *ListAccessibleRepositoriesRequest) GetUserId() string
func (*ListAccessibleRepositoriesRequest) ProtoMessage ¶
func (*ListAccessibleRepositoriesRequest) ProtoMessage()
func (*ListAccessibleRepositoriesRequest) ProtoReflect ¶
func (x *ListAccessibleRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListAccessibleRepositoriesRequest) Reset ¶
func (x *ListAccessibleRepositoriesRequest) Reset()
func (*ListAccessibleRepositoriesRequest) String ¶
func (x *ListAccessibleRepositoriesRequest) String() string
type ListAccessibleRepositoriesResponse ¶
type ListAccessibleRepositoriesResponse struct { Repositories []*RemoteRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
next_page_token [optional] Token which should be passed in ListAccessibleRepositoriesRequest
to fetch the next page of repositories. Empty string for the last page.
func (*ListAccessibleRepositoriesResponse) Descriptor
deprecated
func (*ListAccessibleRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessibleRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListAccessibleRepositoriesResponse) GetNextPageToken ¶
func (x *ListAccessibleRepositoriesResponse) GetNextPageToken() string
func (*ListAccessibleRepositoriesResponse) GetRepositories ¶
func (x *ListAccessibleRepositoriesResponse) GetRepositories() []*RemoteRepository
func (*ListAccessibleRepositoriesResponse) ProtoMessage ¶
func (*ListAccessibleRepositoriesResponse) ProtoMessage()
func (*ListAccessibleRepositoriesResponse) ProtoReflect ¶
func (x *ListAccessibleRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListAccessibleRepositoriesResponse) Reset ¶
func (x *ListAccessibleRepositoriesResponse) Reset()
func (*ListAccessibleRepositoriesResponse) String ¶
func (x *ListAccessibleRepositoriesResponse) String() string
type ListCollaboratorsRequest ¶
type ListCollaboratorsRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
page_token - [required] Starting point for listing, tokens for next page are returned in response.
If you are fetching first page leave it empty.
func (*ListCollaboratorsRequest) Descriptor
deprecated
func (*ListCollaboratorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollaboratorsRequest.ProtoReflect.Descriptor instead.
func (*ListCollaboratorsRequest) GetPageToken ¶
func (x *ListCollaboratorsRequest) GetPageToken() string
func (*ListCollaboratorsRequest) GetRepositoryId ¶
func (x *ListCollaboratorsRequest) GetRepositoryId() string
func (*ListCollaboratorsRequest) ProtoMessage ¶
func (*ListCollaboratorsRequest) ProtoMessage()
func (*ListCollaboratorsRequest) ProtoReflect ¶
func (x *ListCollaboratorsRequest) ProtoReflect() protoreflect.Message
func (*ListCollaboratorsRequest) Reset ¶
func (x *ListCollaboratorsRequest) Reset()
func (*ListCollaboratorsRequest) String ¶
func (x *ListCollaboratorsRequest) String() string
type ListCollaboratorsResponse ¶
type ListCollaboratorsResponse struct { Collaborators []*Collaborator `protobuf:"bytes,1,rep,name=collaborators,proto3" json:"collaborators,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
next_page_token [optional] Token which should be passed in ListCollaboratorsRequest
to fetch the next page of collaborators. Empty string for the last page.
func (*ListCollaboratorsResponse) Descriptor
deprecated
func (*ListCollaboratorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollaboratorsResponse.ProtoReflect.Descriptor instead.
func (*ListCollaboratorsResponse) GetCollaborators ¶
func (x *ListCollaboratorsResponse) GetCollaborators() []*Collaborator
func (*ListCollaboratorsResponse) GetNextPageToken ¶
func (x *ListCollaboratorsResponse) GetNextPageToken() string
func (*ListCollaboratorsResponse) ProtoMessage ¶
func (*ListCollaboratorsResponse) ProtoMessage()
func (*ListCollaboratorsResponse) ProtoReflect ¶
func (x *ListCollaboratorsResponse) ProtoReflect() protoreflect.Message
func (*ListCollaboratorsResponse) Reset ¶
func (x *ListCollaboratorsResponse) Reset()
func (*ListCollaboratorsResponse) String ¶
func (x *ListCollaboratorsResponse) String() string
type ListRequest ¶
type ListRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetProjectId ¶
func (x *ListRequest) GetProjectId() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetRepositories ¶
func (x *ListResponse) GetRepositories() []*Repository
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type RegenerateDeployKeyRequest ¶
type RegenerateDeployKeyRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*RegenerateDeployKeyRequest) Descriptor
deprecated
func (*RegenerateDeployKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateDeployKeyRequest.ProtoReflect.Descriptor instead.
func (*RegenerateDeployKeyRequest) GetRepositoryId ¶
func (x *RegenerateDeployKeyRequest) GetRepositoryId() string
func (*RegenerateDeployKeyRequest) ProtoMessage ¶
func (*RegenerateDeployKeyRequest) ProtoMessage()
func (*RegenerateDeployKeyRequest) ProtoReflect ¶
func (x *RegenerateDeployKeyRequest) ProtoReflect() protoreflect.Message
func (*RegenerateDeployKeyRequest) Reset ¶
func (x *RegenerateDeployKeyRequest) Reset()
func (*RegenerateDeployKeyRequest) String ¶
func (x *RegenerateDeployKeyRequest) String() string
type RegenerateDeployKeyResponse ¶
type RegenerateDeployKeyResponse struct { DeployKey *DeployKey `protobuf:"bytes,1,opt,name=deploy_key,json=deployKey,proto3" json:"deploy_key,omitempty"` // contains filtered or unexported fields }
func (*RegenerateDeployKeyResponse) Descriptor
deprecated
func (*RegenerateDeployKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateDeployKeyResponse.ProtoReflect.Descriptor instead.
func (*RegenerateDeployKeyResponse) GetDeployKey ¶
func (x *RegenerateDeployKeyResponse) GetDeployKey() *DeployKey
func (*RegenerateDeployKeyResponse) ProtoMessage ¶
func (*RegenerateDeployKeyResponse) ProtoMessage()
func (*RegenerateDeployKeyResponse) ProtoReflect ¶
func (x *RegenerateDeployKeyResponse) ProtoReflect() protoreflect.Message
func (*RegenerateDeployKeyResponse) Reset ¶
func (x *RegenerateDeployKeyResponse) Reset()
func (*RegenerateDeployKeyResponse) String ¶
func (x *RegenerateDeployKeyResponse) String() string
type RegenerateWebhookRequest ¶
type RegenerateWebhookRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*RegenerateWebhookRequest) Descriptor
deprecated
func (*RegenerateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateWebhookRequest.ProtoReflect.Descriptor instead.
func (*RegenerateWebhookRequest) GetRepositoryId ¶
func (x *RegenerateWebhookRequest) GetRepositoryId() string
func (*RegenerateWebhookRequest) ProtoMessage ¶
func (*RegenerateWebhookRequest) ProtoMessage()
func (*RegenerateWebhookRequest) ProtoReflect ¶
func (x *RegenerateWebhookRequest) ProtoReflect() protoreflect.Message
func (*RegenerateWebhookRequest) Reset ¶
func (x *RegenerateWebhookRequest) Reset()
func (*RegenerateWebhookRequest) String ¶
func (x *RegenerateWebhookRequest) String() string
type RegenerateWebhookResponse ¶
type RegenerateWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*RegenerateWebhookResponse) Descriptor
deprecated
func (*RegenerateWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateWebhookResponse.ProtoReflect.Descriptor instead.
func (*RegenerateWebhookResponse) GetWebhook ¶
func (x *RegenerateWebhookResponse) GetWebhook() *Webhook
func (*RegenerateWebhookResponse) ProtoMessage ¶
func (*RegenerateWebhookResponse) ProtoMessage()
func (*RegenerateWebhookResponse) ProtoReflect ¶
func (x *RegenerateWebhookResponse) ProtoReflect() protoreflect.Message
func (*RegenerateWebhookResponse) Reset ¶
func (x *RegenerateWebhookResponse) Reset()
func (*RegenerateWebhookResponse) String ¶
func (x *RegenerateWebhookResponse) String() string
type RemoteRepository ¶
type RemoteRepository struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Addable bool `protobuf:"varint,6,opt,name=addable,proto3" json:"addable,omitempty"` Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
addable - [required] If user can create project from this repository. reason - [optional] required if addable is false. Reason why user can't create the project.
func (*RemoteRepository) Descriptor
deprecated
func (*RemoteRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepository) GetAddable ¶
func (x *RemoteRepository) GetAddable() bool
func (*RemoteRepository) GetDescription ¶
func (x *RemoteRepository) GetDescription() string
func (*RemoteRepository) GetFullName ¶
func (x *RemoteRepository) GetFullName() string
func (*RemoteRepository) GetId ¶
func (x *RemoteRepository) GetId() string
func (*RemoteRepository) GetName ¶
func (x *RemoteRepository) GetName() string
func (*RemoteRepository) GetReason ¶
func (x *RemoteRepository) GetReason() string
func (*RemoteRepository) GetUrl ¶
func (x *RemoteRepository) GetUrl() string
func (*RemoteRepository) ProtoMessage ¶
func (*RemoteRepository) ProtoMessage()
func (*RemoteRepository) ProtoReflect ¶
func (x *RemoteRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepository) Reset ¶
func (x *RemoteRepository) Reset()
func (*RemoteRepository) String ¶
func (x *RemoteRepository) String() string
type RemoteRepositoryChanged ¶
type RemoteRepositoryChanged struct { RemoteId string `protobuf:"bytes,1,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'remote_repository_changed'. All fields are required.
func (*RemoteRepositoryChanged) Descriptor
deprecated
func (*RemoteRepositoryChanged) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryChanged.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryChanged) GetRemoteId ¶
func (x *RemoteRepositoryChanged) GetRemoteId() string
func (*RemoteRepositoryChanged) GetTimestamp ¶
func (x *RemoteRepositoryChanged) GetTimestamp() *timestamp.Timestamp
func (*RemoteRepositoryChanged) ProtoMessage ¶
func (*RemoteRepositoryChanged) ProtoMessage()
func (*RemoteRepositoryChanged) ProtoReflect ¶
func (x *RemoteRepositoryChanged) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryChanged) Reset ¶
func (x *RemoteRepositoryChanged) Reset()
func (*RemoteRepositoryChanged) String ¶
func (x *RemoteRepositoryChanged) String() string
type Repository ¶
type Repository struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` ProjectId string `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` PipelineFile string `protobuf:"bytes,8,opt,name=pipeline_file,json=pipelineFile,proto3" json:"pipeline_file,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ CommitStatus *projecthub.Project_Spec_Repository_Status `protobuf:"bytes,10,opt,name=commit_status,json=commitStatus,proto3" json:"commit_status,omitempty"` Whitelist *projecthub.Project_Spec_Repository_Whitelist `protobuf:"bytes,11,opt,name=whitelist,proto3" json:"whitelist,omitempty"` HookId string `protobuf:"bytes,12,opt,name=hook_id,json=hookId,proto3" json:"hook_id,omitempty"` DefaultBranch string `protobuf:"bytes,13,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetCommitStatus ¶
func (x *Repository) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
func (*Repository) GetDefaultBranch ¶
func (x *Repository) GetDefaultBranch() string
func (*Repository) GetHookId ¶
func (x *Repository) GetHookId() string
func (*Repository) GetId ¶
func (x *Repository) GetId() string
func (*Repository) GetIntegrationType ¶
func (x *Repository) GetIntegrationType() repository_integrator.IntegrationType
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetOwner ¶
func (x *Repository) GetOwner() string
func (*Repository) GetPipelineFile ¶
func (x *Repository) GetPipelineFile() string
func (*Repository) GetPrivate ¶
func (x *Repository) GetPrivate() bool
func (*Repository) GetProjectId ¶
func (x *Repository) GetProjectId() string
func (*Repository) GetProvider ¶
func (x *Repository) GetProvider() string
func (*Repository) GetUrl ¶
func (x *Repository) GetUrl() string
func (*Repository) GetWhitelist ¶
func (x *Repository) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // Operation is called to get details about repository. // Operation is synchronous. // Returns GRPC error in case the repository isn't found. Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error) // Operation is called to get details about repositories. // Operation is synchronous. // Returns GRPC error in case repositories can't be returned. DescribeMany(ctx context.Context, in *DescribeManyRequest, opts ...grpc.CallOption) (*DescribeManyResponse, error) // @deprecated Use DescribeMany instead. // Operation is called to get list of repositories for given projects. // Operation is synchronous. // Returns GRPC error in case list can't be returned. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Operation is called to create new repository. // Operation is synchronous. // Returns GRPC error in case repository can't be created. Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Operation is called to update a repository. // When repository url changes - in addition to regular update operation - // deploy key and webhook are regenerated. // // Operation is synchronous. // Returns GRPC error in case repository can't be updated. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Operation is called to delete repository. // Operation is synchronous. // Returns GRPC error in case repository can't be deleted. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Operation is called to get file from Repository. // Operation is synchronous. GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error) // Operation is called to get files from Repository. // Operation is synchronous. GetFiles(ctx context.Context, in *GetFilesRequest, opts ...grpc.CallOption) (*GetFilesResponse, error) // Operation is called to get changes for a commit range. // Operation is synchronous. GetChangedFilePaths(ctx context.Context, in *GetChangedFilePathsRequest, opts ...grpc.CallOption) (*GetChangedFilePathsResponse, error) // Operation is called to commit to the repo. // Operation is synchronous. Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) // Operation is called to get SSH key from Repository. // Operation is synchronous. GetSshKey(ctx context.Context, in *GetSshKeyRequest, opts ...grpc.CallOption) (*GetSshKeyResponse, error) // Returns a list of repositories that is accessible for a given user on a given integration. ListAccessibleRepositories(ctx context.Context, in *ListAccessibleRepositoriesRequest, opts ...grpc.CallOption) (*ListAccessibleRepositoriesResponse, error) // Returns a list of collaborators, with permission level, for requested repository. ListCollaborators(ctx context.Context, in *ListCollaboratorsRequest, opts ...grpc.CallOption) (*ListCollaboratorsResponse, error) // Returns a list of collaborators, with permission level, for requested repository. CreateBuildStatus(ctx context.Context, in *CreateBuildStatusRequest, opts ...grpc.CallOption) (*CreateBuildStatusResponse, error) // Fetches a repository's deploy key from a git platform CheckDeployKey(ctx context.Context, in *CheckDeployKeyRequest, opts ...grpc.CallOption) (*CheckDeployKeyResponse, error) // Regenerates a deploy key for a repository. RegenerateDeployKey(ctx context.Context, in *RegenerateDeployKeyRequest, opts ...grpc.CallOption) (*RegenerateDeployKeyResponse, error) // Checks a git webhook for a repository. // If the webhook is not found or is invalid, it will return an error. CheckWebhook(ctx context.Context, in *CheckWebhookRequest, opts ...grpc.CallOption) (*CheckWebhookResponse, error) // Regenerate a git webhook for a repository RegenerateWebhook(ctx context.Context, in *RegenerateWebhookRequest, opts ...grpc.CallOption) (*RegenerateWebhookResponse, error) // Forks and creates a repository based on the source repository. Fork(ctx context.Context, in *ForkRequest, opts ...grpc.CallOption) (*ForkResponse, error) // Fetches information about remote repository. DescribeRemoteRepository(ctx context.Context, in *DescribeRemoteRepositoryRequest, opts ...grpc.CallOption) (*DescribeRemoteRepositoryResponse, error) // Fetches information about revision. DescribeRevision(ctx context.Context, in *DescribeRevisionRequest, opts ...grpc.CallOption) (*DescribeRevisionResponse, error) // Verifies if incoming webhook is correctly signed. VerifyWebhookSignature(ctx context.Context, in *VerifyWebhookSignatureRequest, opts ...grpc.CallOption) (*VerifyWebhookSignatureResponse, error) }
RepositoryServiceClient is the client API for RepositoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient
type RepositoryServiceServer ¶
type RepositoryServiceServer interface { // Operation is called to get details about repository. // Operation is synchronous. // Returns GRPC error in case the repository isn't found. Describe(context.Context, *DescribeRequest) (*DescribeResponse, error) // Operation is called to get details about repositories. // Operation is synchronous. // Returns GRPC error in case repositories can't be returned. DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error) // @deprecated Use DescribeMany instead. // Operation is called to get list of repositories for given projects. // Operation is synchronous. // Returns GRPC error in case list can't be returned. List(context.Context, *ListRequest) (*ListResponse, error) // Operation is called to create new repository. // Operation is synchronous. // Returns GRPC error in case repository can't be created. Create(context.Context, *CreateRequest) (*CreateResponse, error) // Operation is called to update a repository. // When repository url changes - in addition to regular update operation - // deploy key and webhook are regenerated. // // Operation is synchronous. // Returns GRPC error in case repository can't be updated. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Operation is called to delete repository. // Operation is synchronous. // Returns GRPC error in case repository can't be deleted. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Operation is called to get file from Repository. // Operation is synchronous. GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error) // Operation is called to get files from Repository. // Operation is synchronous. GetFiles(context.Context, *GetFilesRequest) (*GetFilesResponse, error) // Operation is called to get changes for a commit range. // Operation is synchronous. GetChangedFilePaths(context.Context, *GetChangedFilePathsRequest) (*GetChangedFilePathsResponse, error) // Operation is called to commit to the repo. // Operation is synchronous. Commit(context.Context, *CommitRequest) (*CommitResponse, error) // Operation is called to get SSH key from Repository. // Operation is synchronous. GetSshKey(context.Context, *GetSshKeyRequest) (*GetSshKeyResponse, error) // Returns a list of repositories that is accessible for a given user on a given integration. ListAccessibleRepositories(context.Context, *ListAccessibleRepositoriesRequest) (*ListAccessibleRepositoriesResponse, error) // Returns a list of collaborators, with permission level, for requested repository. ListCollaborators(context.Context, *ListCollaboratorsRequest) (*ListCollaboratorsResponse, error) // Returns a list of collaborators, with permission level, for requested repository. CreateBuildStatus(context.Context, *CreateBuildStatusRequest) (*CreateBuildStatusResponse, error) // Fetches a repository's deploy key from a git platform CheckDeployKey(context.Context, *CheckDeployKeyRequest) (*CheckDeployKeyResponse, error) // Regenerates a deploy key for a repository. RegenerateDeployKey(context.Context, *RegenerateDeployKeyRequest) (*RegenerateDeployKeyResponse, error) // Checks a git webhook for a repository. // If the webhook is not found or is invalid, it will return an error. CheckWebhook(context.Context, *CheckWebhookRequest) (*CheckWebhookResponse, error) // Regenerate a git webhook for a repository RegenerateWebhook(context.Context, *RegenerateWebhookRequest) (*RegenerateWebhookResponse, error) // Forks and creates a repository based on the source repository. Fork(context.Context, *ForkRequest) (*ForkResponse, error) // Fetches information about remote repository. DescribeRemoteRepository(context.Context, *DescribeRemoteRepositoryRequest) (*DescribeRemoteRepositoryResponse, error) // Fetches information about revision. DescribeRevision(context.Context, *DescribeRevisionRequest) (*DescribeRevisionResponse, error) // Verifies if incoming webhook is correctly signed. VerifyWebhookSignature(context.Context, *VerifyWebhookSignatureRequest) (*VerifyWebhookSignatureResponse, error) }
RepositoryServiceServer is the server API for RepositoryService service. All implementations should embed UnimplementedRepositoryServiceServer for forward compatibility.
type Revision ¶
type Revision struct { CommitSha string `protobuf:"bytes,1,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
A revision describes a node in a git Tree. A valid reference can have:
- only a commit_sha, with an empty reference
- only a reference, with an empty commit_sha. In this case the commit sha is the current HEAD of the branch.
- both commit_sha and reference. This is the safest option as it avoids issues with race conditions during rebases and push forces.
Examples:
Pointing to a commit sha: Revision { commit_sha = "7ba2c76150cf99ac24283403b513e3fcbc1e03b9" }
Pointing to a git branch: Revision { reference = "refs/heads/master" }
Pointing to a commit sha on a branch: Revision { commit_sha = "7ba2c76150cf99ac24283403b513e3fcbc1e03b9", reference = "refs/heads/dev" }
Pointing to a git tag Revision { reference = "refs/tags/v0.1.1" }
Pointing to a get PR: Revisions { reference = "refs/pr/prs/12" }
func (*Revision) Descriptor
deprecated
func (*Revision) GetCommitSha ¶
func (*Revision) GetReference ¶
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶
func (x *Revision) ProtoReflect() protoreflect.Message
type UnimplementedRepositoryServiceServer ¶
type UnimplementedRepositoryServiceServer struct{}
UnimplementedRepositoryServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRepositoryServiceServer) CheckDeployKey ¶
func (UnimplementedRepositoryServiceServer) CheckDeployKey(context.Context, *CheckDeployKeyRequest) (*CheckDeployKeyResponse, error)
func (UnimplementedRepositoryServiceServer) CheckWebhook ¶
func (UnimplementedRepositoryServiceServer) CheckWebhook(context.Context, *CheckWebhookRequest) (*CheckWebhookResponse, error)
func (UnimplementedRepositoryServiceServer) Commit ¶
func (UnimplementedRepositoryServiceServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
func (UnimplementedRepositoryServiceServer) Create ¶
func (UnimplementedRepositoryServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedRepositoryServiceServer) CreateBuildStatus ¶
func (UnimplementedRepositoryServiceServer) CreateBuildStatus(context.Context, *CreateBuildStatusRequest) (*CreateBuildStatusResponse, error)
func (UnimplementedRepositoryServiceServer) Delete ¶
func (UnimplementedRepositoryServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedRepositoryServiceServer) Describe ¶
func (UnimplementedRepositoryServiceServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
func (UnimplementedRepositoryServiceServer) DescribeMany ¶
func (UnimplementedRepositoryServiceServer) DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error)
func (UnimplementedRepositoryServiceServer) DescribeRemoteRepository ¶
func (UnimplementedRepositoryServiceServer) DescribeRemoteRepository(context.Context, *DescribeRemoteRepositoryRequest) (*DescribeRemoteRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) DescribeRevision ¶
func (UnimplementedRepositoryServiceServer) DescribeRevision(context.Context, *DescribeRevisionRequest) (*DescribeRevisionResponse, error)
func (UnimplementedRepositoryServiceServer) Fork ¶
func (UnimplementedRepositoryServiceServer) Fork(context.Context, *ForkRequest) (*ForkResponse, error)
func (UnimplementedRepositoryServiceServer) GetChangedFilePaths ¶
func (UnimplementedRepositoryServiceServer) GetChangedFilePaths(context.Context, *GetChangedFilePathsRequest) (*GetChangedFilePathsResponse, error)
func (UnimplementedRepositoryServiceServer) GetFile ¶
func (UnimplementedRepositoryServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
func (UnimplementedRepositoryServiceServer) GetFiles ¶
func (UnimplementedRepositoryServiceServer) GetFiles(context.Context, *GetFilesRequest) (*GetFilesResponse, error)
func (UnimplementedRepositoryServiceServer) GetSshKey ¶
func (UnimplementedRepositoryServiceServer) GetSshKey(context.Context, *GetSshKeyRequest) (*GetSshKeyResponse, error)
func (UnimplementedRepositoryServiceServer) List ¶
func (UnimplementedRepositoryServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedRepositoryServiceServer) ListAccessibleRepositories ¶
func (UnimplementedRepositoryServiceServer) ListAccessibleRepositories(context.Context, *ListAccessibleRepositoriesRequest) (*ListAccessibleRepositoriesResponse, error)
func (UnimplementedRepositoryServiceServer) ListCollaborators ¶
func (UnimplementedRepositoryServiceServer) ListCollaborators(context.Context, *ListCollaboratorsRequest) (*ListCollaboratorsResponse, error)
func (UnimplementedRepositoryServiceServer) RegenerateDeployKey ¶
func (UnimplementedRepositoryServiceServer) RegenerateDeployKey(context.Context, *RegenerateDeployKeyRequest) (*RegenerateDeployKeyResponse, error)
func (UnimplementedRepositoryServiceServer) RegenerateWebhook ¶
func (UnimplementedRepositoryServiceServer) RegenerateWebhook(context.Context, *RegenerateWebhookRequest) (*RegenerateWebhookResponse, error)
func (UnimplementedRepositoryServiceServer) Update ¶
func (UnimplementedRepositoryServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
func (UnimplementedRepositoryServiceServer) VerifyWebhookSignature ¶
func (UnimplementedRepositoryServiceServer) VerifyWebhookSignature(context.Context, *VerifyWebhookSignatureRequest) (*VerifyWebhookSignatureResponse, error)
type UnsafeRepositoryServiceServer ¶
type UnsafeRepositoryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` PipelineFile string `protobuf:"bytes,3,opt,name=pipeline_file,json=pipelineFile,proto3" json:"pipeline_file,omitempty"` IntegrationType repository_integrator.IntegrationType `` /* 161-byte string literal not displayed */ CommitStatus *projecthub.Project_Spec_Repository_Status `protobuf:"bytes,5,opt,name=commit_status,json=commitStatus,proto3" json:"commit_status,omitempty"` Whitelist *projecthub.Project_Spec_Repository_Whitelist `protobuf:"bytes,6,opt,name=whitelist,proto3" json:"whitelist,omitempty"` DefaultBranch string `protobuf:"bytes,7,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetCommitStatus ¶
func (x *UpdateRequest) GetCommitStatus() *projecthub.Project_Spec_Repository_Status
func (*UpdateRequest) GetDefaultBranch ¶
func (x *UpdateRequest) GetDefaultBranch() string
func (*UpdateRequest) GetIntegrationType ¶
func (x *UpdateRequest) GetIntegrationType() repository_integrator.IntegrationType
func (*UpdateRequest) GetPipelineFile ¶
func (x *UpdateRequest) GetPipelineFile() string
func (*UpdateRequest) GetRepositoryId ¶
func (x *UpdateRequest) GetRepositoryId() string
func (*UpdateRequest) GetUrl ¶
func (x *UpdateRequest) GetUrl() string
func (*UpdateRequest) GetWhitelist ¶
func (x *UpdateRequest) GetWhitelist() *projecthub.Project_Spec_Repository_Whitelist
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetRepository ¶
func (x *UpdateResponse) GetRepository() *Repository
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type VerifyWebhookSignatureRequest ¶
type VerifyWebhookSignatureRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
organization_id - [required] The organization ID repository_id - [required] The repository ID payload - [required] The payload of the webhook signature - [required] The signature of the webhook
func (*VerifyWebhookSignatureRequest) Descriptor
deprecated
func (*VerifyWebhookSignatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWebhookSignatureRequest.ProtoReflect.Descriptor instead.
func (*VerifyWebhookSignatureRequest) GetOrganizationId ¶
func (x *VerifyWebhookSignatureRequest) GetOrganizationId() string
func (*VerifyWebhookSignatureRequest) GetPayload ¶
func (x *VerifyWebhookSignatureRequest) GetPayload() string
func (*VerifyWebhookSignatureRequest) GetRepositoryId ¶
func (x *VerifyWebhookSignatureRequest) GetRepositoryId() string
func (*VerifyWebhookSignatureRequest) GetSignature ¶
func (x *VerifyWebhookSignatureRequest) GetSignature() string
func (*VerifyWebhookSignatureRequest) ProtoMessage ¶
func (*VerifyWebhookSignatureRequest) ProtoMessage()
func (*VerifyWebhookSignatureRequest) ProtoReflect ¶
func (x *VerifyWebhookSignatureRequest) ProtoReflect() protoreflect.Message
func (*VerifyWebhookSignatureRequest) Reset ¶
func (x *VerifyWebhookSignatureRequest) Reset()
func (*VerifyWebhookSignatureRequest) String ¶
func (x *VerifyWebhookSignatureRequest) String() string
type VerifyWebhookSignatureResponse ¶
type VerifyWebhookSignatureResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
valid - [required] If the signature is valid, is true when we skip verification
func (*VerifyWebhookSignatureResponse) Descriptor
deprecated
func (*VerifyWebhookSignatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWebhookSignatureResponse.ProtoReflect.Descriptor instead.
func (*VerifyWebhookSignatureResponse) GetValid ¶
func (x *VerifyWebhookSignatureResponse) GetValid() bool
func (*VerifyWebhookSignatureResponse) ProtoMessage ¶
func (*VerifyWebhookSignatureResponse) ProtoMessage()
func (*VerifyWebhookSignatureResponse) ProtoReflect ¶
func (x *VerifyWebhookSignatureResponse) ProtoReflect() protoreflect.Message
func (*VerifyWebhookSignatureResponse) Reset ¶
func (x *VerifyWebhookSignatureResponse) Reset()
func (*VerifyWebhookSignatureResponse) String ¶
func (x *VerifyWebhookSignatureResponse) String() string
type Webhook ¶
type Webhook struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Webhook) Descriptor
deprecated
func (*Webhook) ProtoMessage ¶
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶
func (x *Webhook) ProtoReflect() protoreflect.Message