Documentation ¶
Overview ¶
Package registryv1alpha1 is a generated twirp stub package. This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v8.0.0.
It is generated from these files:
buf/alpha/registry/v1alpha1/download.proto buf/alpha/registry/v1alpha1/module.proto buf/alpha/registry/v1alpha1/scope.proto buf/alpha/registry/v1alpha1/organization.proto buf/alpha/registry/v1alpha1/push.proto buf/alpha/registry/v1alpha1/repository.proto buf/alpha/registry/v1alpha1/repository_branch.proto buf/alpha/registry/v1alpha1/repository_commit.proto buf/alpha/registry/v1alpha1/repository_tag.proto buf/alpha/registry/v1alpha1/resolve.proto buf/alpha/registry/v1alpha1/user.proto
Index ¶
- Constants
- Variables
- func RegisterDownloadServiceServer(s grpc.ServiceRegistrar, srv DownloadServiceServer)
- func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
- func RegisterPushServiceServer(s grpc.ServiceRegistrar, srv PushServiceServer)
- func RegisterRepositoryBranchServiceServer(s grpc.ServiceRegistrar, srv RepositoryBranchServiceServer)
- func RegisterRepositoryCommitServiceServer(s grpc.ServiceRegistrar, srv RepositoryCommitServiceServer)
- func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
- func RegisterRepositoryTagServiceServer(s grpc.ServiceRegistrar, srv RepositoryTagServiceServer)
- func RegisterResolveServiceServer(s grpc.ServiceRegistrar, srv ResolveServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func WriteError(resp http.ResponseWriter, err error)
- type AddOrganizationBaseRepositoryScopeByNameRequest
- func (*AddOrganizationBaseRepositoryScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddOrganizationBaseRepositoryScopeByNameRequest) GetName() string
- func (x *AddOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope() RepositoryScope
- func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage()
- func (x *AddOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *AddOrganizationBaseRepositoryScopeByNameRequest) Reset()
- func (x *AddOrganizationBaseRepositoryScopeByNameRequest) String() string
- type AddOrganizationBaseRepositoryScopeByNameResponse
- func (*AddOrganizationBaseRepositoryScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage()
- func (x *AddOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *AddOrganizationBaseRepositoryScopeByNameResponse) Reset()
- func (x *AddOrganizationBaseRepositoryScopeByNameResponse) String() string
- type AddOrganizationBaseRepositoryScopeRequest
- func (*AddOrganizationBaseRepositoryScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddOrganizationBaseRepositoryScopeRequest) GetId() string
- func (x *AddOrganizationBaseRepositoryScopeRequest) GetRepositoryScope() RepositoryScope
- func (*AddOrganizationBaseRepositoryScopeRequest) ProtoMessage()
- func (x *AddOrganizationBaseRepositoryScopeRequest) ProtoReflect() protoreflect.Message
- func (x *AddOrganizationBaseRepositoryScopeRequest) Reset()
- func (x *AddOrganizationBaseRepositoryScopeRequest) String() string
- type AddOrganizationBaseRepositoryScopeResponse
- func (*AddOrganizationBaseRepositoryScopeResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddOrganizationBaseRepositoryScopeResponse) ProtoMessage()
- func (x *AddOrganizationBaseRepositoryScopeResponse) ProtoReflect() protoreflect.Message
- func (x *AddOrganizationBaseRepositoryScopeResponse) Reset()
- func (x *AddOrganizationBaseRepositoryScopeResponse) String() string
- type AddUserOrganizationScopeByNameRequest
- func (*AddUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserOrganizationScopeByNameRequest) GetName() string
- func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationName() string
- func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationScope() OrganizationScope
- func (*AddUserOrganizationScopeByNameRequest) ProtoMessage()
- func (x *AddUserOrganizationScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserOrganizationScopeByNameRequest) Reset()
- func (x *AddUserOrganizationScopeByNameRequest) String() string
- type AddUserOrganizationScopeByNameResponse
- func (*AddUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddUserOrganizationScopeByNameResponse) ProtoMessage()
- func (x *AddUserOrganizationScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserOrganizationScopeByNameResponse) Reset()
- func (x *AddUserOrganizationScopeByNameResponse) String() string
- type AddUserOrganizationScopeRequest
- func (*AddUserOrganizationScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserOrganizationScopeRequest) GetId() string
- func (x *AddUserOrganizationScopeRequest) GetOrganizationId() string
- func (x *AddUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope
- func (*AddUserOrganizationScopeRequest) ProtoMessage()
- func (x *AddUserOrganizationScopeRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserOrganizationScopeRequest) Reset()
- func (x *AddUserOrganizationScopeRequest) String() string
- type AddUserOrganizationScopeResponse
- func (*AddUserOrganizationScopeResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddUserOrganizationScopeResponse) ProtoMessage()
- func (x *AddUserOrganizationScopeResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserOrganizationScopeResponse) Reset()
- func (x *AddUserOrganizationScopeResponse) String() string
- type AddUserServerScopeByNameRequest
- func (*AddUserServerScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserServerScopeByNameRequest) GetName() string
- func (x *AddUserServerScopeByNameRequest) GetServerScope() ServerScope
- func (*AddUserServerScopeByNameRequest) ProtoMessage()
- func (x *AddUserServerScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserServerScopeByNameRequest) Reset()
- func (x *AddUserServerScopeByNameRequest) String() string
- type AddUserServerScopeByNameResponse
- func (*AddUserServerScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddUserServerScopeByNameResponse) ProtoMessage()
- func (x *AddUserServerScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserServerScopeByNameResponse) Reset()
- func (x *AddUserServerScopeByNameResponse) String() string
- type AddUserServerScopeRequest
- func (*AddUserServerScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserServerScopeRequest) GetId() string
- func (x *AddUserServerScopeRequest) GetServerScope() ServerScope
- func (*AddUserServerScopeRequest) ProtoMessage()
- func (x *AddUserServerScopeRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserServerScopeRequest) Reset()
- func (x *AddUserServerScopeRequest) String() string
- type AddUserServerScopeResponse
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetName() string
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- type CreateOrganizationResponse
- func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationResponse) GetOrganization() *Organization
- func (*CreateOrganizationResponse) ProtoMessage()
- func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationResponse) Reset()
- func (x *CreateOrganizationResponse) String() string
- type CreateRepositoryBranchRequest
- func (*CreateRepositoryBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryBranchRequest) GetName() string
- func (x *CreateRepositoryBranchRequest) GetParentBranch() string
- func (x *CreateRepositoryBranchRequest) GetRepositoryId() string
- func (*CreateRepositoryBranchRequest) ProtoMessage()
- func (x *CreateRepositoryBranchRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryBranchRequest) Reset()
- func (x *CreateRepositoryBranchRequest) String() string
- type CreateRepositoryBranchResponse
- func (*CreateRepositoryBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryBranchResponse) GetRepositoryBranch() *RepositoryBranch
- func (*CreateRepositoryBranchResponse) ProtoMessage()
- func (x *CreateRepositoryBranchResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryBranchResponse) Reset()
- func (x *CreateRepositoryBranchResponse) String() string
- type CreateRepositoryByFullNameRequest
- func (*CreateRepositoryByFullNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryByFullNameRequest) GetFullName() string
- func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility
- func (*CreateRepositoryByFullNameRequest) ProtoMessage()
- func (x *CreateRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryByFullNameRequest) Reset()
- func (x *CreateRepositoryByFullNameRequest) String() string
- type CreateRepositoryByFullNameResponse
- func (*CreateRepositoryByFullNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository
- func (*CreateRepositoryByFullNameResponse) ProtoMessage()
- func (x *CreateRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryByFullNameResponse) Reset()
- func (x *CreateRepositoryByFullNameResponse) String() string
- type CreateRepositoryTagRequest
- func (*CreateRepositoryTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryTagRequest) GetCommitName() string
- func (x *CreateRepositoryTagRequest) GetName() string
- func (x *CreateRepositoryTagRequest) GetRepositoryId() string
- func (*CreateRepositoryTagRequest) ProtoMessage()
- func (x *CreateRepositoryTagRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryTagRequest) Reset()
- func (x *CreateRepositoryTagRequest) String() string
- type CreateRepositoryTagResponse
- func (*CreateRepositoryTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag
- func (*CreateRepositoryTagResponse) ProtoMessage()
- func (x *CreateRepositoryTagResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryTagResponse) Reset()
- func (x *CreateRepositoryTagResponse) String() string
- type CreateUserRequest
- type CreateUserResponse
- type DeleteOrganizationByNameRequest
- func (*DeleteOrganizationByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationByNameRequest) GetName() string
- func (*DeleteOrganizationByNameRequest) ProtoMessage()
- func (x *DeleteOrganizationByNameRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationByNameRequest) Reset()
- func (x *DeleteOrganizationByNameRequest) String() string
- type DeleteOrganizationByNameResponse
- func (*DeleteOrganizationByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteOrganizationByNameResponse) ProtoMessage()
- func (x *DeleteOrganizationByNameResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationByNameResponse) Reset()
- func (x *DeleteOrganizationByNameResponse) String() string
- type DeleteOrganizationRequest
- func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationRequest) GetId() string
- func (*DeleteOrganizationRequest) ProtoMessage()
- func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationRequest) Reset()
- func (x *DeleteOrganizationRequest) String() string
- type DeleteOrganizationResponse
- type DeleteRepositoryByFullNameRequest
- func (*DeleteRepositoryByFullNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRepositoryByFullNameRequest) GetFullName() string
- func (*DeleteRepositoryByFullNameRequest) ProtoMessage()
- func (x *DeleteRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryByFullNameRequest) Reset()
- func (x *DeleteRepositoryByFullNameRequest) String() string
- type DeleteRepositoryByFullNameResponse
- func (*DeleteRepositoryByFullNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRepositoryByFullNameResponse) ProtoMessage()
- func (x *DeleteRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryByFullNameResponse) Reset()
- func (x *DeleteRepositoryByFullNameResponse) String() string
- type DeleteRepositoryRequest
- func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRepositoryRequest) GetId() string
- func (*DeleteRepositoryRequest) ProtoMessage()
- func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryRequest) Reset()
- func (x *DeleteRepositoryRequest) String() string
- type DeleteRepositoryResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DownloadRequest
- func (*DownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadRequest) GetOwner() string
- func (x *DownloadRequest) GetReference() string
- func (x *DownloadRequest) GetRepository() string
- func (*DownloadRequest) ProtoMessage()
- func (x *DownloadRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadRequest) Reset()
- func (x *DownloadRequest) String() string
- type DownloadResponse
- func (*DownloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadResponse) GetModule() *v1alpha1.Module
- func (*DownloadResponse) ProtoMessage()
- func (x *DownloadResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadResponse) Reset()
- func (x *DownloadResponse) String() string
- type DownloadService
- type DownloadServiceClient
- type DownloadServiceServer
- type GetModulePinsRequest
- func (*GetModulePinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModulePinsRequest) GetModuleReferences() []*v1alpha1.ModuleReference
- func (*GetModulePinsRequest) ProtoMessage()
- func (x *GetModulePinsRequest) ProtoReflect() protoreflect.Message
- func (x *GetModulePinsRequest) Reset()
- func (x *GetModulePinsRequest) String() string
- type GetModulePinsResponse
- func (*GetModulePinsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin
- func (*GetModulePinsResponse) ProtoMessage()
- func (x *GetModulePinsResponse) ProtoReflect() protoreflect.Message
- func (x *GetModulePinsResponse) Reset()
- func (x *GetModulePinsResponse) String() string
- type GetOrganizationByNameRequest
- func (*GetOrganizationByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationByNameRequest) GetName() string
- func (*GetOrganizationByNameRequest) ProtoMessage()
- func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationByNameRequest) Reset()
- func (x *GetOrganizationByNameRequest) String() string
- type GetOrganizationByNameResponse
- func (*GetOrganizationByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationByNameResponse) GetOrganization() *Organization
- func (*GetOrganizationByNameResponse) ProtoMessage()
- func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationByNameResponse) Reset()
- func (x *GetOrganizationByNameResponse) String() string
- type GetOrganizationRequest
- func (*GetOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequest) GetId() string
- func (*GetOrganizationRequest) ProtoMessage()
- func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequest) Reset()
- func (x *GetOrganizationRequest) String() string
- type GetOrganizationResponse
- func (*GetOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationResponse) GetOrganization() *Organization
- func (*GetOrganizationResponse) ProtoMessage()
- func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationResponse) Reset()
- func (x *GetOrganizationResponse) String() string
- type GetRepositoryByFullNameRequest
- func (*GetRepositoryByFullNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByFullNameRequest) GetFullName() string
- func (*GetRepositoryByFullNameRequest) ProtoMessage()
- func (x *GetRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByFullNameRequest) Reset()
- func (x *GetRepositoryByFullNameRequest) String() string
- type GetRepositoryByFullNameResponse
- func (*GetRepositoryByFullNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByFullNameResponse) GetRepository() *Repository
- func (*GetRepositoryByFullNameResponse) ProtoMessage()
- func (x *GetRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByFullNameResponse) Reset()
- func (x *GetRepositoryByFullNameResponse) String() string
- type GetRepositoryCommitByReferenceRequest
- func (*GetRepositoryCommitByReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryCommitByReferenceRequest) GetReference() string
- func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryName() string
- func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryOwner() string
- func (*GetRepositoryCommitByReferenceRequest) ProtoMessage()
- func (x *GetRepositoryCommitByReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryCommitByReferenceRequest) Reset()
- func (x *GetRepositoryCommitByReferenceRequest) String() string
- type GetRepositoryCommitByReferenceResponse
- func (*GetRepositoryCommitByReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *RepositoryCommit
- func (*GetRepositoryCommitByReferenceResponse) ProtoMessage()
- func (x *GetRepositoryCommitByReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryCommitByReferenceResponse) Reset()
- func (x *GetRepositoryCommitByReferenceResponse) String() string
- type GetRepositoryCommitBySequenceIDRequest
- func (*GetRepositoryCommitBySequenceIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryCommitBySequenceIDRequest) GetCommitSequenceId() int64
- func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryBranchName() string
- func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryName() string
- func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryOwner() string
- func (*GetRepositoryCommitBySequenceIDRequest) ProtoMessage()
- func (x *GetRepositoryCommitBySequenceIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryCommitBySequenceIDRequest) Reset()
- func (x *GetRepositoryCommitBySequenceIDRequest) String() string
- type GetRepositoryCommitBySequenceIDResponse
- func (*GetRepositoryCommitBySequenceIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryCommitBySequenceIDResponse) GetRepositoryCommit() *RepositoryCommit
- func (*GetRepositoryCommitBySequenceIDResponse) ProtoMessage()
- func (x *GetRepositoryCommitBySequenceIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryCommitBySequenceIDResponse) Reset()
- func (x *GetRepositoryCommitBySequenceIDResponse) String() string
- type GetRepositoryRequest
- func (*GetRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryRequest) GetId() string
- func (*GetRepositoryRequest) ProtoMessage()
- func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryRequest) Reset()
- func (x *GetRepositoryRequest) String() string
- type GetRepositoryResponse
- func (*GetRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryResponse) GetRepository() *Repository
- func (*GetRepositoryResponse) ProtoMessage()
- func (x *GetRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryResponse) Reset()
- func (x *GetRepositoryResponse) String() string
- type GetUserByUsernameRequest
- func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameRequest) GetUsername() string
- func (*GetUserByUsernameRequest) ProtoMessage()
- func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameRequest) Reset()
- func (x *GetUserByUsernameRequest) String() string
- type GetUserByUsernameResponse
- func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameResponse) GetUser() *User
- func (*GetUserByUsernameResponse) ProtoMessage()
- func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameResponse) Reset()
- func (x *GetUserByUsernameResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type HTTPClient
- type ListOrganizationRepositoriesRequest
- func (*ListOrganizationRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationRepositoriesRequest) GetOrganizationId() string
- func (x *ListOrganizationRepositoriesRequest) GetPageSize() uint32
- func (x *ListOrganizationRepositoriesRequest) GetPageToken() string
- func (x *ListOrganizationRepositoriesRequest) GetReverse() bool
- func (*ListOrganizationRepositoriesRequest) ProtoMessage()
- func (x *ListOrganizationRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationRepositoriesRequest) Reset()
- func (x *ListOrganizationRepositoriesRequest) String() string
- type ListOrganizationRepositoriesResponse
- func (*ListOrganizationRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string
- func (x *ListOrganizationRepositoriesResponse) GetRepositories() []*Repository
- func (*ListOrganizationRepositoriesResponse) ProtoMessage()
- func (x *ListOrganizationRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationRepositoriesResponse) Reset()
- func (x *ListOrganizationRepositoriesResponse) String() string
- type ListOrganizationUsersRequest
- func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationUsersRequest) GetOrganizationId() string
- func (x *ListOrganizationUsersRequest) GetPageSize() uint32
- func (x *ListOrganizationUsersRequest) GetPageToken() string
- func (x *ListOrganizationUsersRequest) GetReverse() bool
- func (*ListOrganizationUsersRequest) ProtoMessage()
- func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationUsersRequest) Reset()
- func (x *ListOrganizationUsersRequest) String() string
- type ListOrganizationUsersResponse
- func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationUsersResponse) GetNextPageToken() string
- func (x *ListOrganizationUsersResponse) GetUsers() []*User
- func (*ListOrganizationUsersResponse) ProtoMessage()
- func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationUsersResponse) Reset()
- func (x *ListOrganizationUsersResponse) String() string
- type ListOrganizationsRequest
- func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsRequest) GetPageSize() uint32
- func (x *ListOrganizationsRequest) GetPageToken() string
- func (x *ListOrganizationsRequest) GetReverse() bool
- func (*ListOrganizationsRequest) ProtoMessage()
- func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsRequest) Reset()
- func (x *ListOrganizationsRequest) String() string
- type ListOrganizationsResponse
- func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsResponse) GetNextPageToken() string
- func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
- func (*ListOrganizationsResponse) ProtoMessage()
- func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsResponse) Reset()
- func (x *ListOrganizationsResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesRequest) GetPageSize() uint32
- func (x *ListRepositoriesRequest) GetPageToken() string
- func (x *ListRepositoriesRequest) GetReverse() bool
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesResponse) GetNextPageToken() string
- func (x *ListRepositoriesResponse) GetRepositories() []*Repository
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) String() string
- type ListRepositoryBranchesRequest
- func (*ListRepositoryBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryBranchesRequest) GetPageSize() uint32
- func (x *ListRepositoryBranchesRequest) GetPageToken() string
- func (x *ListRepositoryBranchesRequest) GetRepositoryId() string
- func (x *ListRepositoryBranchesRequest) GetReverse() bool
- func (*ListRepositoryBranchesRequest) ProtoMessage()
- func (x *ListRepositoryBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryBranchesRequest) Reset()
- func (x *ListRepositoryBranchesRequest) String() string
- type ListRepositoryBranchesResponse
- func (*ListRepositoryBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryBranchesResponse) GetNextPageToken() string
- func (x *ListRepositoryBranchesResponse) GetRepositoryBranches() []*RepositoryBranch
- func (*ListRepositoryBranchesResponse) ProtoMessage()
- func (x *ListRepositoryBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryBranchesResponse) Reset()
- func (x *ListRepositoryBranchesResponse) String() string
- type ListRepositoryCommitsByBranchRequest
- func (*ListRepositoryCommitsByBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryCommitsByBranchRequest) GetPageSize() uint32
- func (x *ListRepositoryCommitsByBranchRequest) GetPageToken() int64
- func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName() string
- func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryName() string
- func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryOwner() string
- func (x *ListRepositoryCommitsByBranchRequest) GetReverse() bool
- func (*ListRepositoryCommitsByBranchRequest) ProtoMessage()
- func (x *ListRepositoryCommitsByBranchRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryCommitsByBranchRequest) Reset()
- func (x *ListRepositoryCommitsByBranchRequest) String() string
- type ListRepositoryCommitsByBranchResponse
- func (*ListRepositoryCommitsByBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() int64
- func (x *ListRepositoryCommitsByBranchResponse) GetRepositoryCommits() []*RepositoryCommit
- func (*ListRepositoryCommitsByBranchResponse) ProtoMessage()
- func (x *ListRepositoryCommitsByBranchResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryCommitsByBranchResponse) Reset()
- func (x *ListRepositoryCommitsByBranchResponse) String() string
- type ListRepositoryTagsRequest
- func (*ListRepositoryTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryTagsRequest) GetPageSize() uint32
- func (x *ListRepositoryTagsRequest) GetPageToken() string
- func (x *ListRepositoryTagsRequest) GetRepositoryId() string
- func (x *ListRepositoryTagsRequest) GetReverse() bool
- func (*ListRepositoryTagsRequest) ProtoMessage()
- func (x *ListRepositoryTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryTagsRequest) Reset()
- func (x *ListRepositoryTagsRequest) String() string
- type ListRepositoryTagsResponse
- func (*ListRepositoryTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoryTagsResponse) GetNextPageToken() string
- func (x *ListRepositoryTagsResponse) GetRepositoryTags() []*RepositoryTag
- func (*ListRepositoryTagsResponse) ProtoMessage()
- func (x *ListRepositoryTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoryTagsResponse) Reset()
- func (x *ListRepositoryTagsResponse) String() string
- type ListUserOrganizationsRequest
- func (*ListUserOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserOrganizationsRequest) GetPageSize() uint32
- func (x *ListUserOrganizationsRequest) GetPageToken() string
- func (x *ListUserOrganizationsRequest) GetReverse() bool
- func (x *ListUserOrganizationsRequest) GetUserId() string
- func (*ListUserOrganizationsRequest) ProtoMessage()
- func (x *ListUserOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserOrganizationsRequest) Reset()
- func (x *ListUserOrganizationsRequest) String() string
- type ListUserOrganizationsResponse
- func (*ListUserOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserOrganizationsResponse) GetNextPageToken() string
- func (x *ListUserOrganizationsResponse) GetOrganizations() []*Organization
- func (*ListUserOrganizationsResponse) ProtoMessage()
- func (x *ListUserOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserOrganizationsResponse) Reset()
- func (x *ListUserOrganizationsResponse) String() string
- type ListUserRepositoriesRequest
- func (*ListUserRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRepositoriesRequest) GetPageSize() uint32
- func (x *ListUserRepositoriesRequest) GetPageToken() string
- func (x *ListUserRepositoriesRequest) GetReverse() bool
- func (x *ListUserRepositoriesRequest) GetUserId() string
- func (*ListUserRepositoriesRequest) ProtoMessage()
- func (x *ListUserRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRepositoriesRequest) Reset()
- func (x *ListUserRepositoriesRequest) String() string
- type ListUserRepositoriesResponse
- func (*ListUserRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRepositoriesResponse) GetNextPageToken() string
- func (x *ListUserRepositoriesResponse) GetRepositories() []*Repository
- func (*ListUserRepositoriesResponse) ProtoMessage()
- func (x *ListUserRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserRepositoriesResponse) Reset()
- func (x *ListUserRepositoriesResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetPageSize() uint32
- func (x *ListUsersRequest) GetPageToken() string
- func (x *ListUsersRequest) GetReverse() bool
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type LocalModulePin
- func (*LocalModulePin) Descriptor() ([]byte, []int)deprecated
- func (x *LocalModulePin) GetBranch() string
- func (x *LocalModulePin) GetCommit() string
- func (x *LocalModulePin) GetCreateTime() *timestamppb.Timestamp
- func (x *LocalModulePin) GetDigest() string
- func (x *LocalModulePin) GetOwner() string
- func (x *LocalModulePin) GetRepository() string
- func (*LocalModulePin) ProtoMessage()
- func (x *LocalModulePin) ProtoReflect() protoreflect.Message
- func (x *LocalModulePin) Reset()
- func (x *LocalModulePin) String() string
- type LocalModuleReference
- func (*LocalModuleReference) Descriptor() ([]byte, []int)deprecated
- func (x *LocalModuleReference) GetOwner() string
- func (x *LocalModuleReference) GetReference() string
- func (x *LocalModuleReference) GetRepository() string
- func (*LocalModuleReference) ProtoMessage()
- func (x *LocalModuleReference) ProtoReflect() protoreflect.Message
- func (x *LocalModuleReference) Reset()
- func (x *LocalModuleReference) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetCreateTime() *timestamppb.Timestamp
- func (x *Organization) GetId() string
- func (x *Organization) GetName() string
- func (x *Organization) GetUpdateTime() *timestamppb.Timestamp
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type OrganizationScope
- func (OrganizationScope) Descriptor() protoreflect.EnumDescriptor
- func (x OrganizationScope) Enum() *OrganizationScope
- func (OrganizationScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrganizationScope) Number() protoreflect.EnumNumber
- func (x OrganizationScope) String() string
- func (OrganizationScope) Type() protoreflect.EnumType
- type OrganizationService
- type OrganizationServiceClient
- type OrganizationServiceServer
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushRequest) GetBranch() string
- func (x *PushRequest) GetModule() *v1alpha1.Module
- func (x *PushRequest) GetOwner() string
- func (x *PushRequest) GetRepository() string
- func (x *PushRequest) GetTags() []string
- func (*PushRequest) ProtoMessage()
- func (x *PushRequest) ProtoReflect() protoreflect.Message
- func (x *PushRequest) Reset()
- func (x *PushRequest) String() string
- type PushResponse
- type PushService
- type PushServiceClient
- type PushServiceServer
- type RemoveOrganizationBaseRepositoryScopeByNameRequest
- func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) GetName() string
- func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope() RepositoryScope
- func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage()
- func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) Reset()
- func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) String() string
- type RemoveOrganizationBaseRepositoryScopeByNameResponse
- func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage()
- func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) Reset()
- func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) String() string
- type RemoveOrganizationBaseRepositoryScopeRequest
- func (*RemoveOrganizationBaseRepositoryScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOrganizationBaseRepositoryScopeRequest) GetId() string
- func (x *RemoveOrganizationBaseRepositoryScopeRequest) GetRepositoryScope() RepositoryScope
- func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoMessage()
- func (x *RemoveOrganizationBaseRepositoryScopeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveOrganizationBaseRepositoryScopeRequest) Reset()
- func (x *RemoveOrganizationBaseRepositoryScopeRequest) String() string
- type RemoveOrganizationBaseRepositoryScopeResponse
- func (*RemoveOrganizationBaseRepositoryScopeResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoMessage()
- func (x *RemoveOrganizationBaseRepositoryScopeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveOrganizationBaseRepositoryScopeResponse) Reset()
- func (x *RemoveOrganizationBaseRepositoryScopeResponse) String() string
- type RemoveUserOrganizationScopeByNameRequest
- func (*RemoveUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserOrganizationScopeByNameRequest) GetName() string
- func (x *RemoveUserOrganizationScopeByNameRequest) GetOrganizationName() string
- func (x *RemoveUserOrganizationScopeByNameRequest) GetOrganizationScope() OrganizationScope
- func (*RemoveUserOrganizationScopeByNameRequest) ProtoMessage()
- func (x *RemoveUserOrganizationScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserOrganizationScopeByNameRequest) Reset()
- func (x *RemoveUserOrganizationScopeByNameRequest) String() string
- type RemoveUserOrganizationScopeByNameResponse
- func (*RemoveUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveUserOrganizationScopeByNameResponse) ProtoMessage()
- func (x *RemoveUserOrganizationScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserOrganizationScopeByNameResponse) Reset()
- func (x *RemoveUserOrganizationScopeByNameResponse) String() string
- type RemoveUserOrganizationScopeRequest
- func (*RemoveUserOrganizationScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserOrganizationScopeRequest) GetId() string
- func (x *RemoveUserOrganizationScopeRequest) GetOrganizationId() string
- func (x *RemoveUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope
- func (*RemoveUserOrganizationScopeRequest) ProtoMessage()
- func (x *RemoveUserOrganizationScopeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserOrganizationScopeRequest) Reset()
- func (x *RemoveUserOrganizationScopeRequest) String() string
- type RemoveUserOrganizationScopeResponse
- func (*RemoveUserOrganizationScopeResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveUserOrganizationScopeResponse) ProtoMessage()
- func (x *RemoveUserOrganizationScopeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserOrganizationScopeResponse) Reset()
- func (x *RemoveUserOrganizationScopeResponse) String() string
- type RemoveUserServerScopeByNameRequest
- func (*RemoveUserServerScopeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserServerScopeByNameRequest) GetName() string
- func (x *RemoveUserServerScopeByNameRequest) GetServerScope() ServerScope
- func (*RemoveUserServerScopeByNameRequest) ProtoMessage()
- func (x *RemoveUserServerScopeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserServerScopeByNameRequest) Reset()
- func (x *RemoveUserServerScopeByNameRequest) String() string
- type RemoveUserServerScopeByNameResponse
- func (*RemoveUserServerScopeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveUserServerScopeByNameResponse) ProtoMessage()
- func (x *RemoveUserServerScopeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserServerScopeByNameResponse) Reset()
- func (x *RemoveUserServerScopeByNameResponse) String() string
- type RemoveUserServerScopeRequest
- func (*RemoveUserServerScopeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserServerScopeRequest) GetId() string
- func (x *RemoveUserServerScopeRequest) GetServerScope() ServerScope
- func (*RemoveUserServerScopeRequest) ProtoMessage()
- func (x *RemoveUserServerScopeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserServerScopeRequest) Reset()
- func (x *RemoveUserServerScopeRequest) String() string
- type RemoveUserServerScopeResponse
- func (*RemoveUserServerScopeResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveUserServerScopeResponse) ProtoMessage()
- func (x *RemoveUserServerScopeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserServerScopeResponse) Reset()
- func (x *RemoveUserServerScopeResponse) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetCreateTime() *timestamppb.Timestamp
- func (x *Repository) GetId() string
- func (x *Repository) GetName() string
- func (x *Repository) GetOrganizationId() string
- func (m *Repository) GetOwner() isRepository_Owner
- func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
- func (x *Repository) GetUserId() string
- func (x *Repository) GetVisibility() Visibility
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type RepositoryBranch
- func (*RepositoryBranch) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryBranch) GetCreateTime() *timestamppb.Timestamp
- func (x *RepositoryBranch) GetId() string
- func (x *RepositoryBranch) GetName() string
- func (x *RepositoryBranch) GetRepositoryId() string
- func (*RepositoryBranch) ProtoMessage()
- func (x *RepositoryBranch) ProtoReflect() protoreflect.Message
- func (x *RepositoryBranch) Reset()
- func (x *RepositoryBranch) String() string
- type RepositoryBranchService
- type RepositoryBranchServiceClient
- type RepositoryBranchServiceServer
- type RepositoryCommit
- func (*RepositoryCommit) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryCommit) GetAuthor() string
- func (x *RepositoryCommit) GetBranch() string
- func (x *RepositoryCommit) GetCommitSequenceId() int64
- func (x *RepositoryCommit) GetCreateTime() *timestamppb.Timestamp
- func (x *RepositoryCommit) GetDigest() string
- func (x *RepositoryCommit) GetId() string
- func (x *RepositoryCommit) GetName() string
- func (*RepositoryCommit) ProtoMessage()
- func (x *RepositoryCommit) ProtoReflect() protoreflect.Message
- func (x *RepositoryCommit) Reset()
- func (x *RepositoryCommit) String() string
- type RepositoryCommitService
- type RepositoryCommitServiceClient
- type RepositoryCommitServiceServer
- type RepositoryScope
- func (RepositoryScope) Descriptor() protoreflect.EnumDescriptor
- func (x RepositoryScope) Enum() *RepositoryScope
- func (RepositoryScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x RepositoryScope) Number() protoreflect.EnumNumber
- func (x RepositoryScope) String() string
- func (RepositoryScope) Type() protoreflect.EnumType
- type RepositoryService
- type RepositoryServiceClient
- type RepositoryServiceServer
- type RepositoryTag
- func (*RepositoryTag) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryTag) GetAuthor() string
- func (x *RepositoryTag) GetCommitName() string
- func (x *RepositoryTag) GetCreateTime() *timestamppb.Timestamp
- func (x *RepositoryTag) GetId() string
- func (x *RepositoryTag) GetName() string
- func (*RepositoryTag) ProtoMessage()
- func (x *RepositoryTag) ProtoReflect() protoreflect.Message
- func (x *RepositoryTag) Reset()
- func (x *RepositoryTag) String() string
- type RepositoryTagService
- type RepositoryTagServiceClient
- type RepositoryTagServiceServer
- type Repository_OrganizationId
- type Repository_UserId
- type ResolveService
- type ResolveServiceClient
- type ResolveServiceServer
- type ServerScope
- func (ServerScope) Descriptor() protoreflect.EnumDescriptor
- func (x ServerScope) Enum() *ServerScope
- func (ServerScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerScope) Number() protoreflect.EnumNumber
- func (x ServerScope) String() string
- func (ServerScope) Type() protoreflect.EnumType
- type TwirpServer
- func NewDownloadServiceServer(svc DownloadService, opts ...interface{}) TwirpServer
- func NewOrganizationServiceServer(svc OrganizationService, opts ...interface{}) TwirpServer
- func NewPushServiceServer(svc PushService, opts ...interface{}) TwirpServer
- func NewRepositoryBranchServiceServer(svc RepositoryBranchService, opts ...interface{}) TwirpServer
- func NewRepositoryCommitServiceServer(svc RepositoryCommitService, opts ...interface{}) TwirpServer
- func NewRepositoryServiceServer(svc RepositoryService, opts ...interface{}) TwirpServer
- func NewRepositoryTagServiceServer(svc RepositoryTagService, opts ...interface{}) TwirpServer
- func NewResolveServiceServer(svc ResolveService, opts ...interface{}) TwirpServer
- func NewUserServiceServer(svc UserService, opts ...interface{}) TwirpServer
- type UnimplementedDownloadServiceServer
- type UnimplementedOrganizationServiceServer
- func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error)
- func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error)
- func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error)
- func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
- func (UnimplementedOrganizationServiceServer) ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
- func (UnimplementedOrganizationServiceServer) ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error)
- func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error)
- func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error)
- func (UnimplementedOrganizationServiceServer) UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error)
- func (UnimplementedOrganizationServiceServer) UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error)
- type UnimplementedPushServiceServer
- type UnimplementedRepositoryBranchServiceServer
- func (UnimplementedRepositoryBranchServiceServer) CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error)
- func (UnimplementedRepositoryBranchServiceServer) ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error)
- type UnimplementedRepositoryCommitServiceServer
- func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error)
- func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error)
- func (UnimplementedRepositoryCommitServiceServer) ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error)
- type UnimplementedRepositoryServiceServer
- func (UnimplementedRepositoryServiceServer) CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error)
- func (UnimplementedRepositoryServiceServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error)
- func (UnimplementedRepositoryServiceServer) GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error)
- func (UnimplementedRepositoryServiceServer) ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error)
- func (UnimplementedRepositoryServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (UnimplementedRepositoryServiceServer) ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error)
- func (UnimplementedRepositoryServiceServer) UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error)
- func (UnimplementedRepositoryServiceServer) UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error)
- func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error)
- func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error)
- type UnimplementedRepositoryTagServiceServer
- type UnimplementedResolveServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error)
- func (UnimplementedUserServiceServer) AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error)
- func (UnimplementedUserServiceServer) AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error)
- func (UnimplementedUserServiceServer) AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error)
- func (UnimplementedUserServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
- func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error)
- func (UnimplementedUserServiceServer) RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error)
- func (UnimplementedUserServiceServer) RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error)
- func (UnimplementedUserServiceServer) RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error)
- type UnsafeDownloadServiceServer
- type UnsafeOrganizationServiceServer
- type UnsafePushServiceServer
- type UnsafeRepositoryBranchServiceServer
- type UnsafeRepositoryCommitServiceServer
- type UnsafeRepositoryServiceServer
- type UnsafeRepositoryTagServiceServer
- type UnsafeResolveServiceServer
- type UnsafeUserServiceServer
- type UpdateOrganizationNameByNameRequest
- func (*UpdateOrganizationNameByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationNameByNameRequest) GetName() string
- func (x *UpdateOrganizationNameByNameRequest) GetNewName() string
- func (*UpdateOrganizationNameByNameRequest) ProtoMessage()
- func (x *UpdateOrganizationNameByNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationNameByNameRequest) Reset()
- func (x *UpdateOrganizationNameByNameRequest) String() string
- type UpdateOrganizationNameByNameResponse
- func (*UpdateOrganizationNameByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationNameByNameResponse) GetOrganization() *Organization
- func (*UpdateOrganizationNameByNameResponse) ProtoMessage()
- func (x *UpdateOrganizationNameByNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationNameByNameResponse) Reset()
- func (x *UpdateOrganizationNameByNameResponse) String() string
- type UpdateOrganizationNameRequest
- func (*UpdateOrganizationNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationNameRequest) GetId() string
- func (x *UpdateOrganizationNameRequest) GetNewName() string
- func (*UpdateOrganizationNameRequest) ProtoMessage()
- func (x *UpdateOrganizationNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationNameRequest) Reset()
- func (x *UpdateOrganizationNameRequest) String() string
- type UpdateOrganizationNameResponse
- func (*UpdateOrganizationNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationNameResponse) GetOrganization() *Organization
- func (*UpdateOrganizationNameResponse) ProtoMessage()
- func (x *UpdateOrganizationNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationNameResponse) Reset()
- func (x *UpdateOrganizationNameResponse) String() string
- type UpdateRepositoryNameByFullNameRequest
- func (*UpdateRepositoryNameByFullNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryNameByFullNameRequest) GetFullName() string
- func (x *UpdateRepositoryNameByFullNameRequest) GetNewName() string
- func (*UpdateRepositoryNameByFullNameRequest) ProtoMessage()
- func (x *UpdateRepositoryNameByFullNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryNameByFullNameRequest) Reset()
- func (x *UpdateRepositoryNameByFullNameRequest) String() string
- type UpdateRepositoryNameByFullNameResponse
- func (*UpdateRepositoryNameByFullNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryNameByFullNameResponse) GetRepository() *Repository
- func (*UpdateRepositoryNameByFullNameResponse) ProtoMessage()
- func (x *UpdateRepositoryNameByFullNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryNameByFullNameResponse) Reset()
- func (x *UpdateRepositoryNameByFullNameResponse) String() string
- type UpdateRepositoryNameRequest
- func (*UpdateRepositoryNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryNameRequest) GetId() string
- func (x *UpdateRepositoryNameRequest) GetNewName() string
- func (*UpdateRepositoryNameRequest) ProtoMessage()
- func (x *UpdateRepositoryNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryNameRequest) Reset()
- func (x *UpdateRepositoryNameRequest) String() string
- type UpdateRepositoryNameResponse
- func (*UpdateRepositoryNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryNameResponse) GetRepository() *Repository
- func (*UpdateRepositoryNameResponse) ProtoMessage()
- func (x *UpdateRepositoryNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryNameResponse) Reset()
- func (x *UpdateRepositoryNameResponse) String() string
- type UpdateRepositoryVisibilityByNameRequest
- func (*UpdateRepositoryVisibilityByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryVisibilityByNameRequest) GetNewVisibility() Visibility
- func (x *UpdateRepositoryVisibilityByNameRequest) GetOwnerName() string
- func (x *UpdateRepositoryVisibilityByNameRequest) GetRepositoryName() string
- func (*UpdateRepositoryVisibilityByNameRequest) ProtoMessage()
- func (x *UpdateRepositoryVisibilityByNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryVisibilityByNameRequest) Reset()
- func (x *UpdateRepositoryVisibilityByNameRequest) String() string
- type UpdateRepositoryVisibilityByNameResponse
- func (*UpdateRepositoryVisibilityByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryVisibilityByNameResponse) GetRepository() *Repository
- func (*UpdateRepositoryVisibilityByNameResponse) ProtoMessage()
- func (x *UpdateRepositoryVisibilityByNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryVisibilityByNameResponse) Reset()
- func (x *UpdateRepositoryVisibilityByNameResponse) String() string
- type UpdateRepositoryVisibilityRequest
- func (*UpdateRepositoryVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryVisibilityRequest) GetId() string
- func (x *UpdateRepositoryVisibilityRequest) GetNewVisibility() Visibility
- func (*UpdateRepositoryVisibilityRequest) ProtoMessage()
- func (x *UpdateRepositoryVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryVisibilityRequest) Reset()
- func (x *UpdateRepositoryVisibilityRequest) String() string
- type UpdateRepositoryVisibilityResponse
- func (*UpdateRepositoryVisibilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryVisibilityResponse) GetRepository() *Repository
- func (*UpdateRepositoryVisibilityResponse) ProtoMessage()
- func (x *UpdateRepositoryVisibilityResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryVisibilityResponse) Reset()
- func (x *UpdateRepositoryVisibilityResponse) String() string
- type UpdateUserUsernameRequest
- func (*UpdateUserUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserUsernameRequest) GetNewUsername() string
- func (*UpdateUserUsernameRequest) ProtoMessage()
- func (x *UpdateUserUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserUsernameRequest) Reset()
- func (x *UpdateUserUsernameRequest) String() string
- type UpdateUserUsernameResponse
- func (*UpdateUserUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserUsernameResponse) GetUser() *User
- func (*UpdateUserUsernameResponse) ProtoMessage()
- func (x *UpdateUserUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserUsernameResponse) Reset()
- func (x *UpdateUserUsernameResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetId() string
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserService
- type UserServiceClient
- type UserServiceServer
- type Visibility
Constants ¶
const DownloadServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.DownloadService/"
DownloadServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const OrganizationServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.OrganizationService/"
OrganizationServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const PushServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.PushService/"
PushServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const RepositoryBranchServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryBranchService/"
RepositoryBranchServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const RepositoryCommitServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryCommitService/"
RepositoryCommitServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const RepositoryServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryService/"
RepositoryServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const RepositoryTagServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryTagService/"
RepositoryTagServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const ResolveServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.ResolveService/"
ResolveServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const UserServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.UserService/"
UserServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
Variables ¶
var ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "VISIBILITY_PUBLIC", 2: "VISIBILITY_PRIVATE", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "VISIBILITY_PUBLIC": 1, "VISIBILITY_PRIVATE": 2, } )
Enum value maps for Visibility.
var ( ServerScope_name = map[int32]string{ 0: "SERVER_SCOPE_UNSPECIFIED", 1: "SERVER_SCOPE_MEMBER", 2: "SERVER_SCOPE_ADMIN", } ServerScope_value = map[string]int32{ "SERVER_SCOPE_UNSPECIFIED": 0, "SERVER_SCOPE_MEMBER": 1, "SERVER_SCOPE_ADMIN": 2, } )
Enum value maps for ServerScope.
var ( OrganizationScope_name = map[int32]string{ 0: "ORGANIZATION_SCOPE_UNSPECIFIED", 1: "ORGANIZATION_SCOPE_MEMBER", 2: "ORGANIZATION_SCOPE_ADMIN", 3: "ORGANIZATION_SCOPE_OWNER", } OrganizationScope_value = map[string]int32{ "ORGANIZATION_SCOPE_UNSPECIFIED": 0, "ORGANIZATION_SCOPE_MEMBER": 1, "ORGANIZATION_SCOPE_ADMIN": 2, "ORGANIZATION_SCOPE_OWNER": 3, } )
Enum value maps for OrganizationScope.
var ( RepositoryScope_name = map[int32]string{ 0: "REPOSITORY_SCOPE_UNSPECIFIED", 1: "REPOSITORY_SCOPE_READ", 2: "REPOSITORY_SCOPE_READ_WRITE", 3: "REPOSITORY_SCOPE_ADMIN", } RepositoryScope_value = map[string]int32{ "REPOSITORY_SCOPE_UNSPECIFIED": 0, "REPOSITORY_SCOPE_READ": 1, "REPOSITORY_SCOPE_READ_WRITE": 2, "REPOSITORY_SCOPE_ADMIN": 3, } )
Enum value maps for RepositoryScope.
var DownloadService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.DownloadService", HandlerType: (*DownloadServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Download", Handler: _DownloadService_Download_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/download.proto", }
DownloadService_ServiceDesc is the grpc.ServiceDesc for DownloadService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_buf_alpha_registry_v1alpha1_download_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_module_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_organization_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_push_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_repository_branch_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_repository_commit_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_repository_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_repository_tag_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_resolve_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_scope_proto protoreflect.FileDescriptor
var File_buf_alpha_registry_v1alpha1_user_proto protoreflect.FileDescriptor
var OrganizationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.OrganizationService", HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOrganization", Handler: _OrganizationService_GetOrganization_Handler, }, { MethodName: "GetOrganizationByName", Handler: _OrganizationService_GetOrganizationByName_Handler, }, { MethodName: "ListOrganizations", Handler: _OrganizationService_ListOrganizations_Handler, }, { MethodName: "ListUserOrganizations", Handler: _OrganizationService_ListUserOrganizations_Handler, }, { MethodName: "CreateOrganization", Handler: _OrganizationService_CreateOrganization_Handler, }, { MethodName: "UpdateOrganizationName", Handler: _OrganizationService_UpdateOrganizationName_Handler, }, { MethodName: "UpdateOrganizationNameByName", Handler: _OrganizationService_UpdateOrganizationNameByName_Handler, }, { MethodName: "DeleteOrganization", Handler: _OrganizationService_DeleteOrganization_Handler, }, { MethodName: "DeleteOrganizationByName", Handler: _OrganizationService_DeleteOrganizationByName_Handler, }, { MethodName: "AddOrganizationBaseRepositoryScope", Handler: _OrganizationService_AddOrganizationBaseRepositoryScope_Handler, }, { MethodName: "AddOrganizationBaseRepositoryScopeByName", Handler: _OrganizationService_AddOrganizationBaseRepositoryScopeByName_Handler, }, { MethodName: "RemoveOrganizationBaseRepositoryScope", Handler: _OrganizationService_RemoveOrganizationBaseRepositoryScope_Handler, }, { MethodName: "RemoveOrganizationBaseRepositoryScopeByName", Handler: _OrganizationService_RemoveOrganizationBaseRepositoryScopeByName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/organization.proto", }
OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PushService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.PushService", HandlerType: (*PushServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Push", Handler: _PushService_Push_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/push.proto", }
PushService_ServiceDesc is the grpc.ServiceDesc for PushService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RepositoryBranchService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.RepositoryBranchService", HandlerType: (*RepositoryBranchServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRepositoryBranch", Handler: _RepositoryBranchService_CreateRepositoryBranch_Handler, }, { MethodName: "ListRepositoryBranches", Handler: _RepositoryBranchService_ListRepositoryBranches_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/repository_branch.proto", }
RepositoryBranchService_ServiceDesc is the grpc.ServiceDesc for RepositoryBranchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RepositoryCommitService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.RepositoryCommitService", HandlerType: (*RepositoryCommitServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListRepositoryCommitsByBranch", Handler: _RepositoryCommitService_ListRepositoryCommitsByBranch_Handler, }, { MethodName: "GetRepositoryCommitByReference", Handler: _RepositoryCommitService_GetRepositoryCommitByReference_Handler, }, { MethodName: "GetRepositoryCommitBySequenceID", Handler: _RepositoryCommitService_GetRepositoryCommitBySequenceID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/repository_commit.proto", }
RepositoryCommitService_ServiceDesc is the grpc.ServiceDesc for RepositoryCommitService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RepositoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRepository", Handler: _RepositoryService_GetRepository_Handler, }, { MethodName: "GetRepositoryByFullName", Handler: _RepositoryService_GetRepositoryByFullName_Handler, }, { MethodName: "ListRepositories", Handler: _RepositoryService_ListRepositories_Handler, }, { MethodName: "ListUserRepositories", Handler: _RepositoryService_ListUserRepositories_Handler, }, { MethodName: "ListOrganizationRepositories", Handler: _RepositoryService_ListOrganizationRepositories_Handler, }, { MethodName: "CreateRepositoryByFullName", Handler: _RepositoryService_CreateRepositoryByFullName_Handler, }, { MethodName: "UpdateRepositoryName", Handler: _RepositoryService_UpdateRepositoryName_Handler, }, { MethodName: "UpdateRepositoryNameByFullName", Handler: _RepositoryService_UpdateRepositoryNameByFullName_Handler, }, { MethodName: "UpdateRepositoryVisibility", Handler: _RepositoryService_UpdateRepositoryVisibility_Handler, }, { MethodName: "UpdateRepositoryVisibilityByName", Handler: _RepositoryService_UpdateRepositoryVisibilityByName_Handler, }, { MethodName: "DeleteRepository", Handler: _RepositoryService_DeleteRepository_Handler, }, { MethodName: "DeleteRepositoryByFullName", Handler: _RepositoryService_DeleteRepositoryByFullName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/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)
var RepositoryTagService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.RepositoryTagService", HandlerType: (*RepositoryTagServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRepositoryTag", Handler: _RepositoryTagService_CreateRepositoryTag_Handler, }, { MethodName: "ListRepositoryTags", Handler: _RepositoryTagService_ListRepositoryTags_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/repository_tag.proto", }
RepositoryTagService_ServiceDesc is the grpc.ServiceDesc for RepositoryTagService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResolveService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.ResolveService", HandlerType: (*ResolveServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetModulePins", Handler: _ResolveService_GetModulePins_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/resolve.proto", }
ResolveService_ServiceDesc is the grpc.ServiceDesc for ResolveService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.alpha.registry.v1alpha1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "GetUserByUsername", Handler: _UserService_GetUserByUsername_Handler, }, { MethodName: "ListUsers", Handler: _UserService_ListUsers_Handler, }, { MethodName: "ListOrganizationUsers", Handler: _UserService_ListOrganizationUsers_Handler, }, { MethodName: "UpdateUserUsername", Handler: _UserService_UpdateUserUsername_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "AddUserOrganizationScope", Handler: _UserService_AddUserOrganizationScope_Handler, }, { MethodName: "AddUserOrganizationScopeByName", Handler: _UserService_AddUserOrganizationScopeByName_Handler, }, { MethodName: "RemoveUserOrganizationScope", Handler: _UserService_RemoveUserOrganizationScope_Handler, }, { MethodName: "RemoveUserOrganizationScopeByName", Handler: _UserService_RemoveUserOrganizationScopeByName_Handler, }, { MethodName: "AddUserServerScope", Handler: _UserService_AddUserServerScope_Handler, }, { MethodName: "AddUserServerScopeByName", Handler: _UserService_AddUserServerScopeByName_Handler, }, { MethodName: "RemoveUserServerScope", Handler: _UserService_RemoveUserServerScope_Handler, }, { MethodName: "RemoveUserServerScopeByName", Handler: _UserService_RemoveUserServerScopeByName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/alpha/registry/v1alpha1/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDownloadServiceServer ¶
func RegisterDownloadServiceServer(s grpc.ServiceRegistrar, srv DownloadServiceServer)
func RegisterOrganizationServiceServer ¶
func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
func RegisterPushServiceServer ¶
func RegisterPushServiceServer(s grpc.ServiceRegistrar, srv PushServiceServer)
func RegisterRepositoryBranchServiceServer ¶
func RegisterRepositoryBranchServiceServer(s grpc.ServiceRegistrar, srv RepositoryBranchServiceServer)
func RegisterRepositoryCommitServiceServer ¶
func RegisterRepositoryCommitServiceServer(s grpc.ServiceRegistrar, srv RepositoryCommitServiceServer)
func RegisterRepositoryServiceServer ¶
func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
func RegisterRepositoryTagServiceServer ¶
func RegisterRepositoryTagServiceServer(s grpc.ServiceRegistrar, srv RepositoryTagServiceServer)
func RegisterResolveServiceServer ¶
func RegisterResolveServiceServer(s grpc.ServiceRegistrar, srv ResolveServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func WriteError ¶
func WriteError(resp http.ResponseWriter, err error)
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
Types ¶
type AddOrganizationBaseRepositoryScopeByNameRequest ¶
type AddOrganizationBaseRepositoryScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddOrganizationBaseRepositoryScopeByNameRequest) Descriptor
deprecated
func (*AddOrganizationBaseRepositoryScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddOrganizationBaseRepositoryScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*AddOrganizationBaseRepositoryScopeByNameRequest) GetName ¶
func (x *AddOrganizationBaseRepositoryScopeByNameRequest) GetName() string
func (*AddOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope ¶
func (x *AddOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope() RepositoryScope
func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage ¶
func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage()
func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect ¶
func (x *AddOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*AddOrganizationBaseRepositoryScopeByNameRequest) Reset ¶
func (x *AddOrganizationBaseRepositoryScopeByNameRequest) Reset()
func (*AddOrganizationBaseRepositoryScopeByNameRequest) String ¶
func (x *AddOrganizationBaseRepositoryScopeByNameRequest) String() string
type AddOrganizationBaseRepositoryScopeByNameResponse ¶
type AddOrganizationBaseRepositoryScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*AddOrganizationBaseRepositoryScopeByNameResponse) Descriptor
deprecated
func (*AddOrganizationBaseRepositoryScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddOrganizationBaseRepositoryScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage ¶
func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage()
func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect ¶
func (x *AddOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*AddOrganizationBaseRepositoryScopeByNameResponse) Reset ¶
func (x *AddOrganizationBaseRepositoryScopeByNameResponse) Reset()
func (*AddOrganizationBaseRepositoryScopeByNameResponse) String ¶
func (x *AddOrganizationBaseRepositoryScopeByNameResponse) String() string
type AddOrganizationBaseRepositoryScopeRequest ¶
type AddOrganizationBaseRepositoryScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddOrganizationBaseRepositoryScopeRequest) Descriptor
deprecated
func (*AddOrganizationBaseRepositoryScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddOrganizationBaseRepositoryScopeRequest.ProtoReflect.Descriptor instead.
func (*AddOrganizationBaseRepositoryScopeRequest) GetId ¶
func (x *AddOrganizationBaseRepositoryScopeRequest) GetId() string
func (*AddOrganizationBaseRepositoryScopeRequest) GetRepositoryScope ¶
func (x *AddOrganizationBaseRepositoryScopeRequest) GetRepositoryScope() RepositoryScope
func (*AddOrganizationBaseRepositoryScopeRequest) ProtoMessage ¶
func (*AddOrganizationBaseRepositoryScopeRequest) ProtoMessage()
func (*AddOrganizationBaseRepositoryScopeRequest) ProtoReflect ¶
func (x *AddOrganizationBaseRepositoryScopeRequest) ProtoReflect() protoreflect.Message
func (*AddOrganizationBaseRepositoryScopeRequest) Reset ¶
func (x *AddOrganizationBaseRepositoryScopeRequest) Reset()
func (*AddOrganizationBaseRepositoryScopeRequest) String ¶
func (x *AddOrganizationBaseRepositoryScopeRequest) String() string
type AddOrganizationBaseRepositoryScopeResponse ¶
type AddOrganizationBaseRepositoryScopeResponse struct {
// contains filtered or unexported fields
}
func (*AddOrganizationBaseRepositoryScopeResponse) Descriptor
deprecated
func (*AddOrganizationBaseRepositoryScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddOrganizationBaseRepositoryScopeResponse.ProtoReflect.Descriptor instead.
func (*AddOrganizationBaseRepositoryScopeResponse) ProtoMessage ¶
func (*AddOrganizationBaseRepositoryScopeResponse) ProtoMessage()
func (*AddOrganizationBaseRepositoryScopeResponse) ProtoReflect ¶
func (x *AddOrganizationBaseRepositoryScopeResponse) ProtoReflect() protoreflect.Message
func (*AddOrganizationBaseRepositoryScopeResponse) Reset ¶
func (x *AddOrganizationBaseRepositoryScopeResponse) Reset()
func (*AddOrganizationBaseRepositoryScopeResponse) String ¶
func (x *AddOrganizationBaseRepositoryScopeResponse) String() string
type AddUserOrganizationScopeByNameRequest ¶
type AddUserOrganizationScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddUserOrganizationScopeByNameRequest) Descriptor
deprecated
func (*AddUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserOrganizationScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*AddUserOrganizationScopeByNameRequest) GetName ¶
func (x *AddUserOrganizationScopeByNameRequest) GetName() string
func (*AddUserOrganizationScopeByNameRequest) GetOrganizationName ¶
func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationName() string
func (*AddUserOrganizationScopeByNameRequest) GetOrganizationScope ¶
func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationScope() OrganizationScope
func (*AddUserOrganizationScopeByNameRequest) ProtoMessage ¶
func (*AddUserOrganizationScopeByNameRequest) ProtoMessage()
func (*AddUserOrganizationScopeByNameRequest) ProtoReflect ¶
func (x *AddUserOrganizationScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*AddUserOrganizationScopeByNameRequest) Reset ¶
func (x *AddUserOrganizationScopeByNameRequest) Reset()
func (*AddUserOrganizationScopeByNameRequest) String ¶
func (x *AddUserOrganizationScopeByNameRequest) String() string
type AddUserOrganizationScopeByNameResponse ¶
type AddUserOrganizationScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*AddUserOrganizationScopeByNameResponse) Descriptor
deprecated
func (*AddUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserOrganizationScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*AddUserOrganizationScopeByNameResponse) ProtoMessage ¶
func (*AddUserOrganizationScopeByNameResponse) ProtoMessage()
func (*AddUserOrganizationScopeByNameResponse) ProtoReflect ¶
func (x *AddUserOrganizationScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*AddUserOrganizationScopeByNameResponse) Reset ¶
func (x *AddUserOrganizationScopeByNameResponse) Reset()
func (*AddUserOrganizationScopeByNameResponse) String ¶
func (x *AddUserOrganizationScopeByNameResponse) String() string
type AddUserOrganizationScopeRequest ¶
type AddUserOrganizationScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddUserOrganizationScopeRequest) Descriptor
deprecated
func (*AddUserOrganizationScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserOrganizationScopeRequest.ProtoReflect.Descriptor instead.
func (*AddUserOrganizationScopeRequest) GetId ¶
func (x *AddUserOrganizationScopeRequest) GetId() string
func (*AddUserOrganizationScopeRequest) GetOrganizationId ¶
func (x *AddUserOrganizationScopeRequest) GetOrganizationId() string
func (*AddUserOrganizationScopeRequest) GetOrganizationScope ¶
func (x *AddUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope
func (*AddUserOrganizationScopeRequest) ProtoMessage ¶
func (*AddUserOrganizationScopeRequest) ProtoMessage()
func (*AddUserOrganizationScopeRequest) ProtoReflect ¶
func (x *AddUserOrganizationScopeRequest) ProtoReflect() protoreflect.Message
func (*AddUserOrganizationScopeRequest) Reset ¶
func (x *AddUserOrganizationScopeRequest) Reset()
func (*AddUserOrganizationScopeRequest) String ¶
func (x *AddUserOrganizationScopeRequest) String() string
type AddUserOrganizationScopeResponse ¶
type AddUserOrganizationScopeResponse struct {
// contains filtered or unexported fields
}
func (*AddUserOrganizationScopeResponse) Descriptor
deprecated
func (*AddUserOrganizationScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserOrganizationScopeResponse.ProtoReflect.Descriptor instead.
func (*AddUserOrganizationScopeResponse) ProtoMessage ¶
func (*AddUserOrganizationScopeResponse) ProtoMessage()
func (*AddUserOrganizationScopeResponse) ProtoReflect ¶
func (x *AddUserOrganizationScopeResponse) ProtoReflect() protoreflect.Message
func (*AddUserOrganizationScopeResponse) Reset ¶
func (x *AddUserOrganizationScopeResponse) Reset()
func (*AddUserOrganizationScopeResponse) String ¶
func (x *AddUserOrganizationScopeResponse) String() string
type AddUserServerScopeByNameRequest ¶
type AddUserServerScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ServerScope ServerScope `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddUserServerScopeByNameRequest) Descriptor
deprecated
func (*AddUserServerScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserServerScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*AddUserServerScopeByNameRequest) GetName ¶
func (x *AddUserServerScopeByNameRequest) GetName() string
func (*AddUserServerScopeByNameRequest) GetServerScope ¶
func (x *AddUserServerScopeByNameRequest) GetServerScope() ServerScope
func (*AddUserServerScopeByNameRequest) ProtoMessage ¶
func (*AddUserServerScopeByNameRequest) ProtoMessage()
func (*AddUserServerScopeByNameRequest) ProtoReflect ¶
func (x *AddUserServerScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*AddUserServerScopeByNameRequest) Reset ¶
func (x *AddUserServerScopeByNameRequest) Reset()
func (*AddUserServerScopeByNameRequest) String ¶
func (x *AddUserServerScopeByNameRequest) String() string
type AddUserServerScopeByNameResponse ¶
type AddUserServerScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*AddUserServerScopeByNameResponse) Descriptor
deprecated
func (*AddUserServerScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserServerScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*AddUserServerScopeByNameResponse) ProtoMessage ¶
func (*AddUserServerScopeByNameResponse) ProtoMessage()
func (*AddUserServerScopeByNameResponse) ProtoReflect ¶
func (x *AddUserServerScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*AddUserServerScopeByNameResponse) Reset ¶
func (x *AddUserServerScopeByNameResponse) Reset()
func (*AddUserServerScopeByNameResponse) String ¶
func (x *AddUserServerScopeByNameResponse) String() string
type AddUserServerScopeRequest ¶
type AddUserServerScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ServerScope ServerScope `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddUserServerScopeRequest) Descriptor
deprecated
func (*AddUserServerScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserServerScopeRequest.ProtoReflect.Descriptor instead.
func (*AddUserServerScopeRequest) GetId ¶
func (x *AddUserServerScopeRequest) GetId() string
func (*AddUserServerScopeRequest) GetServerScope ¶
func (x *AddUserServerScopeRequest) GetServerScope() ServerScope
func (*AddUserServerScopeRequest) ProtoMessage ¶
func (*AddUserServerScopeRequest) ProtoMessage()
func (*AddUserServerScopeRequest) ProtoReflect ¶
func (x *AddUserServerScopeRequest) ProtoReflect() protoreflect.Message
func (*AddUserServerScopeRequest) Reset ¶
func (x *AddUserServerScopeRequest) Reset()
func (*AddUserServerScopeRequest) String ¶
func (x *AddUserServerScopeRequest) String() string
type AddUserServerScopeResponse ¶
type AddUserServerScopeResponse struct {
// contains filtered or unexported fields
}
func (*AddUserServerScopeResponse) Descriptor
deprecated
func (*AddUserServerScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserServerScopeResponse.ProtoReflect.Descriptor instead.
func (*AddUserServerScopeResponse) ProtoMessage ¶
func (*AddUserServerScopeResponse) ProtoMessage()
func (*AddUserServerScopeResponse) ProtoReflect ¶
func (x *AddUserServerScopeResponse) ProtoReflect() protoreflect.Message
func (*AddUserServerScopeResponse) Reset ¶
func (x *AddUserServerScopeResponse) Reset()
func (*AddUserServerScopeResponse) String ¶
func (x *AddUserServerScopeResponse) String() string
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct { // Must be unique across organizations. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationRequest) Descriptor
deprecated
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetName ¶
func (x *CreateOrganizationRequest) GetName() string
func (*CreateOrganizationRequest) ProtoMessage ¶
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶
func (x *CreateOrganizationRequest) String() string
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationResponse) Descriptor
deprecated
func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.
func (*CreateOrganizationResponse) GetOrganization ¶
func (x *CreateOrganizationResponse) GetOrganization() *Organization
func (*CreateOrganizationResponse) ProtoMessage ¶
func (*CreateOrganizationResponse) ProtoMessage()
func (*CreateOrganizationResponse) ProtoReflect ¶
func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
func (*CreateOrganizationResponse) Reset ¶
func (x *CreateOrganizationResponse) Reset()
func (*CreateOrganizationResponse) String ¶
func (x *CreateOrganizationResponse) String() string
type CreateRepositoryBranchRequest ¶
type CreateRepositoryBranchRequest struct { // The ID of the repository this branch should be created on. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the repository branch, i.e. v1. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the parent branch. The latest commit on this // branch will be used as the branch's parent. ParentBranch string `protobuf:"bytes,3,opt,name=parent_branch,json=parentBranch,proto3" json:"parent_branch,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryBranchRequest) Descriptor
deprecated
func (*CreateRepositoryBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryBranchRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryBranchRequest) GetName ¶
func (x *CreateRepositoryBranchRequest) GetName() string
func (*CreateRepositoryBranchRequest) GetParentBranch ¶
func (x *CreateRepositoryBranchRequest) GetParentBranch() string
func (*CreateRepositoryBranchRequest) GetRepositoryId ¶
func (x *CreateRepositoryBranchRequest) GetRepositoryId() string
func (*CreateRepositoryBranchRequest) ProtoMessage ¶
func (*CreateRepositoryBranchRequest) ProtoMessage()
func (*CreateRepositoryBranchRequest) ProtoReflect ¶
func (x *CreateRepositoryBranchRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryBranchRequest) Reset ¶
func (x *CreateRepositoryBranchRequest) Reset()
func (*CreateRepositoryBranchRequest) String ¶
func (x *CreateRepositoryBranchRequest) String() string
type CreateRepositoryBranchResponse ¶
type CreateRepositoryBranchResponse struct { RepositoryBranch *RepositoryBranch `protobuf:"bytes,1,opt,name=repository_branch,json=repositoryBranch,proto3" json:"repository_branch,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryBranchResponse) Descriptor
deprecated
func (*CreateRepositoryBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryBranchResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryBranchResponse) GetRepositoryBranch ¶
func (x *CreateRepositoryBranchResponse) GetRepositoryBranch() *RepositoryBranch
func (*CreateRepositoryBranchResponse) ProtoMessage ¶
func (*CreateRepositoryBranchResponse) ProtoMessage()
func (*CreateRepositoryBranchResponse) ProtoReflect ¶
func (x *CreateRepositoryBranchResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryBranchResponse) Reset ¶
func (x *CreateRepositoryBranchResponse) Reset()
func (*CreateRepositoryBranchResponse) String ¶
func (x *CreateRepositoryBranchResponse) String() string
type CreateRepositoryByFullNameRequest ¶
type CreateRepositoryByFullNameRequest struct { // Must be unique across repositories. FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryByFullNameRequest) Descriptor
deprecated
func (*CreateRepositoryByFullNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryByFullNameRequest) GetFullName ¶
func (x *CreateRepositoryByFullNameRequest) GetFullName() string
func (*CreateRepositoryByFullNameRequest) GetVisibility ¶
func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility
func (*CreateRepositoryByFullNameRequest) ProtoMessage ¶
func (*CreateRepositoryByFullNameRequest) ProtoMessage()
func (*CreateRepositoryByFullNameRequest) ProtoReflect ¶
func (x *CreateRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryByFullNameRequest) Reset ¶
func (x *CreateRepositoryByFullNameRequest) Reset()
func (*CreateRepositoryByFullNameRequest) String ¶
func (x *CreateRepositoryByFullNameRequest) String() string
type CreateRepositoryByFullNameResponse ¶
type CreateRepositoryByFullNameResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryByFullNameResponse) Descriptor
deprecated
func (*CreateRepositoryByFullNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryByFullNameResponse) GetRepository ¶
func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository
func (*CreateRepositoryByFullNameResponse) ProtoMessage ¶
func (*CreateRepositoryByFullNameResponse) ProtoMessage()
func (*CreateRepositoryByFullNameResponse) ProtoReflect ¶
func (x *CreateRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryByFullNameResponse) Reset ¶
func (x *CreateRepositoryByFullNameResponse) Reset()
func (*CreateRepositoryByFullNameResponse) String ¶
func (x *CreateRepositoryByFullNameResponse) String() string
type CreateRepositoryTagRequest ¶
type CreateRepositoryTagRequest struct { // The ID of the repository this tag should be created on. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the commit this tag should be created for. CommitName string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryTagRequest) Descriptor
deprecated
func (*CreateRepositoryTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryTagRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryTagRequest) GetCommitName ¶
func (x *CreateRepositoryTagRequest) GetCommitName() string
func (*CreateRepositoryTagRequest) GetName ¶
func (x *CreateRepositoryTagRequest) GetName() string
func (*CreateRepositoryTagRequest) GetRepositoryId ¶
func (x *CreateRepositoryTagRequest) GetRepositoryId() string
func (*CreateRepositoryTagRequest) ProtoMessage ¶
func (*CreateRepositoryTagRequest) ProtoMessage()
func (*CreateRepositoryTagRequest) ProtoReflect ¶
func (x *CreateRepositoryTagRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryTagRequest) Reset ¶
func (x *CreateRepositoryTagRequest) Reset()
func (*CreateRepositoryTagRequest) String ¶
func (x *CreateRepositoryTagRequest) String() string
type CreateRepositoryTagResponse ¶
type CreateRepositoryTagResponse struct { RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryTagResponse) Descriptor
deprecated
func (*CreateRepositoryTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryTagResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryTagResponse) GetRepositoryTag ¶
func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag
func (*CreateRepositoryTagResponse) ProtoMessage ¶
func (*CreateRepositoryTagResponse) ProtoMessage()
func (*CreateRepositoryTagResponse) ProtoReflect ¶
func (x *CreateRepositoryTagResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryTagResponse) Reset ¶
func (x *CreateRepositoryTagResponse) Reset()
func (*CreateRepositoryTagResponse) String ¶
func (x *CreateRepositoryTagResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteOrganizationByNameRequest ¶
type DeleteOrganizationByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationByNameRequest) Descriptor
deprecated
func (*DeleteOrganizationByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationByNameRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationByNameRequest) GetName ¶
func (x *DeleteOrganizationByNameRequest) GetName() string
func (*DeleteOrganizationByNameRequest) ProtoMessage ¶
func (*DeleteOrganizationByNameRequest) ProtoMessage()
func (*DeleteOrganizationByNameRequest) ProtoReflect ¶
func (x *DeleteOrganizationByNameRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationByNameRequest) Reset ¶
func (x *DeleteOrganizationByNameRequest) Reset()
func (*DeleteOrganizationByNameRequest) String ¶
func (x *DeleteOrganizationByNameRequest) String() string
type DeleteOrganizationByNameResponse ¶
type DeleteOrganizationByNameResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOrganizationByNameResponse) Descriptor
deprecated
func (*DeleteOrganizationByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationByNameResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationByNameResponse) ProtoMessage ¶
func (*DeleteOrganizationByNameResponse) ProtoMessage()
func (*DeleteOrganizationByNameResponse) ProtoReflect ¶
func (x *DeleteOrganizationByNameResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationByNameResponse) Reset ¶
func (x *DeleteOrganizationByNameResponse) Reset()
func (*DeleteOrganizationByNameResponse) String ¶
func (x *DeleteOrganizationByNameResponse) String() string
type DeleteOrganizationRequest ¶
type DeleteOrganizationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationRequest) Descriptor
deprecated
func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationRequest) GetId ¶
func (x *DeleteOrganizationRequest) GetId() string
func (*DeleteOrganizationRequest) ProtoMessage ¶
func (*DeleteOrganizationRequest) ProtoMessage()
func (*DeleteOrganizationRequest) ProtoReflect ¶
func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationRequest) Reset ¶
func (x *DeleteOrganizationRequest) Reset()
func (*DeleteOrganizationRequest) String ¶
func (x *DeleteOrganizationRequest) String() string
type DeleteOrganizationResponse ¶
type DeleteOrganizationResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOrganizationResponse) Descriptor
deprecated
func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationResponse) ProtoMessage ¶
func (*DeleteOrganizationResponse) ProtoMessage()
func (*DeleteOrganizationResponse) ProtoReflect ¶
func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationResponse) Reset ¶
func (x *DeleteOrganizationResponse) Reset()
func (*DeleteOrganizationResponse) String ¶
func (x *DeleteOrganizationResponse) String() string
type DeleteRepositoryByFullNameRequest ¶
type DeleteRepositoryByFullNameRequest struct { FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepositoryByFullNameRequest) Descriptor
deprecated
func (*DeleteRepositoryByFullNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryByFullNameRequest) GetFullName ¶
func (x *DeleteRepositoryByFullNameRequest) GetFullName() string
func (*DeleteRepositoryByFullNameRequest) ProtoMessage ¶
func (*DeleteRepositoryByFullNameRequest) ProtoMessage()
func (*DeleteRepositoryByFullNameRequest) ProtoReflect ¶
func (x *DeleteRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryByFullNameRequest) Reset ¶
func (x *DeleteRepositoryByFullNameRequest) Reset()
func (*DeleteRepositoryByFullNameRequest) String ¶
func (x *DeleteRepositoryByFullNameRequest) String() string
type DeleteRepositoryByFullNameResponse ¶
type DeleteRepositoryByFullNameResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRepositoryByFullNameResponse) Descriptor
deprecated
func (*DeleteRepositoryByFullNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryByFullNameResponse) ProtoMessage ¶
func (*DeleteRepositoryByFullNameResponse) ProtoMessage()
func (*DeleteRepositoryByFullNameResponse) ProtoReflect ¶
func (x *DeleteRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryByFullNameResponse) Reset ¶
func (x *DeleteRepositoryByFullNameResponse) Reset()
func (*DeleteRepositoryByFullNameResponse) String ¶
func (x *DeleteRepositoryByFullNameResponse) String() string
type DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepositoryRequest) Descriptor
deprecated
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) GetId ¶
func (x *DeleteRepositoryRequest) GetId() string
func (*DeleteRepositoryRequest) ProtoMessage ¶
func (*DeleteRepositoryRequest) ProtoMessage()
func (*DeleteRepositoryRequest) ProtoReflect ¶
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryRequest) Reset ¶
func (x *DeleteRepositoryRequest) Reset()
func (*DeleteRepositoryRequest) String ¶
func (x *DeleteRepositoryRequest) String() string
type DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRepositoryResponse) Descriptor
deprecated
func (*DeleteRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryResponse.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryResponse) ProtoMessage ¶
func (*DeleteRepositoryResponse) ProtoMessage()
func (*DeleteRepositoryResponse) ProtoReflect ¶
func (x *DeleteRepositoryResponse) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryResponse) Reset ¶
func (x *DeleteRepositoryResponse) Reset()
func (*DeleteRepositoryResponse) String ¶
func (x *DeleteRepositoryResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type DownloadRequest ¶
type DownloadRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*DownloadRequest) Descriptor
deprecated
func (*DownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.
func (*DownloadRequest) GetOwner ¶
func (x *DownloadRequest) GetOwner() string
func (*DownloadRequest) GetReference ¶
func (x *DownloadRequest) GetReference() string
func (*DownloadRequest) GetRepository ¶
func (x *DownloadRequest) GetRepository() string
func (*DownloadRequest) ProtoMessage ¶
func (*DownloadRequest) ProtoMessage()
func (*DownloadRequest) ProtoReflect ¶
func (x *DownloadRequest) ProtoReflect() protoreflect.Message
func (*DownloadRequest) Reset ¶
func (x *DownloadRequest) Reset()
func (*DownloadRequest) String ¶
func (x *DownloadRequest) String() string
type DownloadResponse ¶
type DownloadResponse struct { Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*DownloadResponse) Descriptor
deprecated
func (*DownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.
func (*DownloadResponse) GetModule ¶
func (x *DownloadResponse) GetModule() *v1alpha1.Module
func (*DownloadResponse) ProtoMessage ¶
func (*DownloadResponse) ProtoMessage()
func (*DownloadResponse) ProtoReflect ¶
func (x *DownloadResponse) ProtoReflect() protoreflect.Message
func (*DownloadResponse) Reset ¶
func (x *DownloadResponse) Reset()
func (*DownloadResponse) String ¶
func (x *DownloadResponse) String() string
type DownloadService ¶
type DownloadService interface { // Download downloads. Download(context.Context, *DownloadRequest) (*DownloadResponse, error) }
DownloadService is the download service.
func NewDownloadServiceJSONClient ¶
func NewDownloadServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) DownloadService
NewDownloadServiceJSONClient creates a JSON client that implements the DownloadService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewDownloadServiceProtobufClient ¶
func NewDownloadServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) DownloadService
NewDownloadServiceProtobufClient creates a Protobuf client that implements the DownloadService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type DownloadServiceClient ¶
type DownloadServiceClient interface { // Download downloads. Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (*DownloadResponse, error) }
DownloadServiceClient is the client API for DownloadService 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 NewDownloadServiceClient ¶
func NewDownloadServiceClient(cc grpc.ClientConnInterface) DownloadServiceClient
type DownloadServiceServer ¶
type DownloadServiceServer interface { // Download downloads. Download(context.Context, *DownloadRequest) (*DownloadResponse, error) }
DownloadServiceServer is the server API for DownloadService service. All implementations should embed UnimplementedDownloadServiceServer for forward compatibility
type GetModulePinsRequest ¶
type GetModulePinsRequest struct { ModuleReferences []*v1alpha1.ModuleReference `protobuf:"bytes,1,rep,name=module_references,json=moduleReferences,proto3" json:"module_references,omitempty"` // contains filtered or unexported fields }
func (*GetModulePinsRequest) Descriptor
deprecated
func (*GetModulePinsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModulePinsRequest.ProtoReflect.Descriptor instead.
func (*GetModulePinsRequest) GetModuleReferences ¶
func (x *GetModulePinsRequest) GetModuleReferences() []*v1alpha1.ModuleReference
func (*GetModulePinsRequest) ProtoMessage ¶
func (*GetModulePinsRequest) ProtoMessage()
func (*GetModulePinsRequest) ProtoReflect ¶
func (x *GetModulePinsRequest) ProtoReflect() protoreflect.Message
func (*GetModulePinsRequest) Reset ¶
func (x *GetModulePinsRequest) Reset()
func (*GetModulePinsRequest) String ¶
func (x *GetModulePinsRequest) String() string
type GetModulePinsResponse ¶
type GetModulePinsResponse struct { ModulePins []*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` // contains filtered or unexported fields }
func (*GetModulePinsResponse) Descriptor
deprecated
func (*GetModulePinsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModulePinsResponse.ProtoReflect.Descriptor instead.
func (*GetModulePinsResponse) GetModulePins ¶
func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin
func (*GetModulePinsResponse) ProtoMessage ¶
func (*GetModulePinsResponse) ProtoMessage()
func (*GetModulePinsResponse) ProtoReflect ¶
func (x *GetModulePinsResponse) ProtoReflect() protoreflect.Message
func (*GetModulePinsResponse) Reset ¶
func (x *GetModulePinsResponse) Reset()
func (*GetModulePinsResponse) String ¶
func (x *GetModulePinsResponse) String() string
type GetOrganizationByNameRequest ¶
type GetOrganizationByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationByNameRequest) Descriptor
deprecated
func (*GetOrganizationByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationByNameRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameRequest) GetName ¶
func (x *GetOrganizationByNameRequest) GetName() string
func (*GetOrganizationByNameRequest) ProtoMessage ¶
func (*GetOrganizationByNameRequest) ProtoMessage()
func (*GetOrganizationByNameRequest) ProtoReflect ¶
func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationByNameRequest) Reset ¶
func (x *GetOrganizationByNameRequest) Reset()
func (*GetOrganizationByNameRequest) String ¶
func (x *GetOrganizationByNameRequest) String() string
type GetOrganizationByNameResponse ¶
type GetOrganizationByNameResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationByNameResponse) Descriptor
deprecated
func (*GetOrganizationByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationByNameResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameResponse) GetOrganization ¶
func (x *GetOrganizationByNameResponse) GetOrganization() *Organization
func (*GetOrganizationByNameResponse) ProtoMessage ¶
func (*GetOrganizationByNameResponse) ProtoMessage()
func (*GetOrganizationByNameResponse) ProtoReflect ¶
func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationByNameResponse) Reset ¶
func (x *GetOrganizationByNameResponse) Reset()
func (*GetOrganizationByNameResponse) String ¶
func (x *GetOrganizationByNameResponse) String() string
type GetOrganizationRequest ¶
type GetOrganizationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRequest) Descriptor
deprecated
func (*GetOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequest) GetId ¶
func (x *GetOrganizationRequest) GetId() string
func (*GetOrganizationRequest) ProtoMessage ¶
func (*GetOrganizationRequest) ProtoMessage()
func (*GetOrganizationRequest) ProtoReflect ¶
func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequest) Reset ¶
func (x *GetOrganizationRequest) Reset()
func (*GetOrganizationRequest) String ¶
func (x *GetOrganizationRequest) String() string
type GetOrganizationResponse ¶
type GetOrganizationResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationResponse) Descriptor
deprecated
func (*GetOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationResponse) GetOrganization ¶
func (x *GetOrganizationResponse) GetOrganization() *Organization
func (*GetOrganizationResponse) ProtoMessage ¶
func (*GetOrganizationResponse) ProtoMessage()
func (*GetOrganizationResponse) ProtoReflect ¶
func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationResponse) Reset ¶
func (x *GetOrganizationResponse) Reset()
func (*GetOrganizationResponse) String ¶
func (x *GetOrganizationResponse) String() string
type GetRepositoryByFullNameRequest ¶
type GetRepositoryByFullNameRequest struct { FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryByFullNameRequest) Descriptor
deprecated
func (*GetRepositoryByFullNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryByFullNameRequest) GetFullName ¶
func (x *GetRepositoryByFullNameRequest) GetFullName() string
func (*GetRepositoryByFullNameRequest) ProtoMessage ¶
func (*GetRepositoryByFullNameRequest) ProtoMessage()
func (*GetRepositoryByFullNameRequest) ProtoReflect ¶
func (x *GetRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryByFullNameRequest) Reset ¶
func (x *GetRepositoryByFullNameRequest) Reset()
func (*GetRepositoryByFullNameRequest) String ¶
func (x *GetRepositoryByFullNameRequest) String() string
type GetRepositoryByFullNameResponse ¶
type GetRepositoryByFullNameResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryByFullNameResponse) Descriptor
deprecated
func (*GetRepositoryByFullNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryByFullNameResponse) GetRepository ¶
func (x *GetRepositoryByFullNameResponse) GetRepository() *Repository
func (*GetRepositoryByFullNameResponse) ProtoMessage ¶
func (*GetRepositoryByFullNameResponse) ProtoMessage()
func (*GetRepositoryByFullNameResponse) ProtoReflect ¶
func (x *GetRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryByFullNameResponse) Reset ¶
func (x *GetRepositoryByFullNameResponse) Reset()
func (*GetRepositoryByFullNameResponse) String ¶
func (x *GetRepositoryByFullNameResponse) String() string
type GetRepositoryCommitByReferenceRequest ¶
type GetRepositoryCommitByReferenceRequest struct { // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The reference that should be resolved to a commit. Can be a branch, tag or commit. Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryCommitByReferenceRequest) Descriptor
deprecated
func (*GetRepositoryCommitByReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryCommitByReferenceRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryCommitByReferenceRequest) GetReference ¶
func (x *GetRepositoryCommitByReferenceRequest) GetReference() string
func (*GetRepositoryCommitByReferenceRequest) GetRepositoryName ¶
func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryName() string
func (*GetRepositoryCommitByReferenceRequest) GetRepositoryOwner ¶
func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryOwner() string
func (*GetRepositoryCommitByReferenceRequest) ProtoMessage ¶
func (*GetRepositoryCommitByReferenceRequest) ProtoMessage()
func (*GetRepositoryCommitByReferenceRequest) ProtoReflect ¶
func (x *GetRepositoryCommitByReferenceRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryCommitByReferenceRequest) Reset ¶
func (x *GetRepositoryCommitByReferenceRequest) Reset()
func (*GetRepositoryCommitByReferenceRequest) String ¶
func (x *GetRepositoryCommitByReferenceRequest) String() string
type GetRepositoryCommitByReferenceResponse ¶
type GetRepositoryCommitByReferenceResponse struct { RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryCommitByReferenceResponse) Descriptor
deprecated
func (*GetRepositoryCommitByReferenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryCommitByReferenceResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryCommitByReferenceResponse) GetRepositoryCommit ¶
func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *RepositoryCommit
func (*GetRepositoryCommitByReferenceResponse) ProtoMessage ¶
func (*GetRepositoryCommitByReferenceResponse) ProtoMessage()
func (*GetRepositoryCommitByReferenceResponse) ProtoReflect ¶
func (x *GetRepositoryCommitByReferenceResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryCommitByReferenceResponse) Reset ¶
func (x *GetRepositoryCommitByReferenceResponse) Reset()
func (*GetRepositoryCommitByReferenceResponse) String ¶
func (x *GetRepositoryCommitByReferenceResponse) String() string
type GetRepositoryCommitBySequenceIDRequest ¶
type GetRepositoryCommitBySequenceIDRequest struct { // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The name of the repository branch which the sequence ID is relative to. RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"` // The sequence ID to look up. CommitSequenceId int64 `protobuf:"varint,4,opt,name=commit_sequence_id,json=commitSequenceId,proto3" json:"commit_sequence_id,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryCommitBySequenceIDRequest) Descriptor
deprecated
func (*GetRepositoryCommitBySequenceIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryCommitBySequenceIDRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryCommitBySequenceIDRequest) GetCommitSequenceId ¶
func (x *GetRepositoryCommitBySequenceIDRequest) GetCommitSequenceId() int64
func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryBranchName ¶
func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryBranchName() string
func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryName ¶
func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryName() string
func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryOwner ¶
func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryOwner() string
func (*GetRepositoryCommitBySequenceIDRequest) ProtoMessage ¶
func (*GetRepositoryCommitBySequenceIDRequest) ProtoMessage()
func (*GetRepositoryCommitBySequenceIDRequest) ProtoReflect ¶
func (x *GetRepositoryCommitBySequenceIDRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryCommitBySequenceIDRequest) Reset ¶
func (x *GetRepositoryCommitBySequenceIDRequest) Reset()
func (*GetRepositoryCommitBySequenceIDRequest) String ¶
func (x *GetRepositoryCommitBySequenceIDRequest) String() string
type GetRepositoryCommitBySequenceIDResponse ¶
type GetRepositoryCommitBySequenceIDResponse struct { RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryCommitBySequenceIDResponse) Descriptor
deprecated
func (*GetRepositoryCommitBySequenceIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryCommitBySequenceIDResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryCommitBySequenceIDResponse) GetRepositoryCommit ¶
func (x *GetRepositoryCommitBySequenceIDResponse) GetRepositoryCommit() *RepositoryCommit
func (*GetRepositoryCommitBySequenceIDResponse) ProtoMessage ¶
func (*GetRepositoryCommitBySequenceIDResponse) ProtoMessage()
func (*GetRepositoryCommitBySequenceIDResponse) ProtoReflect ¶
func (x *GetRepositoryCommitBySequenceIDResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryCommitBySequenceIDResponse) Reset ¶
func (x *GetRepositoryCommitBySequenceIDResponse) Reset()
func (*GetRepositoryCommitBySequenceIDResponse) String ¶
func (x *GetRepositoryCommitBySequenceIDResponse) String() string
type GetRepositoryRequest ¶
type GetRepositoryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryRequest) Descriptor
deprecated
func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryRequest) GetId ¶
func (x *GetRepositoryRequest) GetId() string
func (*GetRepositoryRequest) ProtoMessage ¶
func (*GetRepositoryRequest) ProtoMessage()
func (*GetRepositoryRequest) ProtoReflect ¶
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryRequest) Reset ¶
func (x *GetRepositoryRequest) Reset()
func (*GetRepositoryRequest) String ¶
func (x *GetRepositoryRequest) String() string
type GetRepositoryResponse ¶
type GetRepositoryResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryResponse) Descriptor
deprecated
func (*GetRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryResponse) GetRepository ¶
func (x *GetRepositoryResponse) GetRepository() *Repository
func (*GetRepositoryResponse) ProtoMessage ¶
func (*GetRepositoryResponse) ProtoMessage()
func (*GetRepositoryResponse) ProtoReflect ¶
func (x *GetRepositoryResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryResponse) Reset ¶
func (x *GetRepositoryResponse) Reset()
func (*GetRepositoryResponse) String ¶
func (x *GetRepositoryResponse) String() string
type GetUserByUsernameRequest ¶
type GetUserByUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameRequest) Descriptor
deprecated
func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameRequest.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameRequest) GetUsername ¶
func (x *GetUserByUsernameRequest) GetUsername() string
func (*GetUserByUsernameRequest) ProtoMessage ¶
func (*GetUserByUsernameRequest) ProtoMessage()
func (*GetUserByUsernameRequest) ProtoReflect ¶
func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameRequest) Reset ¶
func (x *GetUserByUsernameRequest) Reset()
func (*GetUserByUsernameRequest) String ¶
func (x *GetUserByUsernameRequest) String() string
type GetUserByUsernameResponse ¶
type GetUserByUsernameResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameResponse) Descriptor
deprecated
func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameResponse.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameResponse) GetUser ¶
func (x *GetUserByUsernameResponse) GetUser() *User
func (*GetUserByUsernameResponse) ProtoMessage ¶
func (*GetUserByUsernameResponse) ProtoMessage()
func (*GetUserByUsernameResponse) ProtoReflect ¶
func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameResponse) Reset ¶
func (x *GetUserByUsernameResponse) Reset()
func (*GetUserByUsernameResponse) String ¶
func (x *GetUserByUsernameResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type HTTPClient ¶
HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.
HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.
type ListOrganizationRepositoriesRequest ¶
type ListOrganizationRepositoriesRequest struct { // The ID of the organization whose repositories should be listed. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationRepositoriesRequest) Descriptor
deprecated
func (*ListOrganizationRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationRepositoriesRequest) GetOrganizationId ¶
func (x *ListOrganizationRepositoriesRequest) GetOrganizationId() string
func (*ListOrganizationRepositoriesRequest) GetPageSize ¶
func (x *ListOrganizationRepositoriesRequest) GetPageSize() uint32
func (*ListOrganizationRepositoriesRequest) GetPageToken ¶
func (x *ListOrganizationRepositoriesRequest) GetPageToken() string
func (*ListOrganizationRepositoriesRequest) GetReverse ¶
func (x *ListOrganizationRepositoriesRequest) GetReverse() bool
func (*ListOrganizationRepositoriesRequest) ProtoMessage ¶
func (*ListOrganizationRepositoriesRequest) ProtoMessage()
func (*ListOrganizationRepositoriesRequest) ProtoReflect ¶
func (x *ListOrganizationRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationRepositoriesRequest) Reset ¶
func (x *ListOrganizationRepositoriesRequest) Reset()
func (*ListOrganizationRepositoriesRequest) String ¶
func (x *ListOrganizationRepositoriesRequest) String() string
type ListOrganizationRepositoriesResponse ¶
type ListOrganizationRepositoriesResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationRepositoriesResponse) Descriptor
deprecated
func (*ListOrganizationRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationRepositoriesResponse) GetNextPageToken ¶
func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string
func (*ListOrganizationRepositoriesResponse) GetRepositories ¶
func (x *ListOrganizationRepositoriesResponse) GetRepositories() []*Repository
func (*ListOrganizationRepositoriesResponse) ProtoMessage ¶
func (*ListOrganizationRepositoriesResponse) ProtoMessage()
func (*ListOrganizationRepositoriesResponse) ProtoReflect ¶
func (x *ListOrganizationRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationRepositoriesResponse) Reset ¶
func (x *ListOrganizationRepositoriesResponse) Reset()
func (*ListOrganizationRepositoriesResponse) String ¶
func (x *ListOrganizationRepositoriesResponse) String() string
type ListOrganizationUsersRequest ¶
type ListOrganizationUsersRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationUsersRequest) Descriptor
deprecated
func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationUsersRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationUsersRequest) GetOrganizationId ¶
func (x *ListOrganizationUsersRequest) GetOrganizationId() string
func (*ListOrganizationUsersRequest) GetPageSize ¶
func (x *ListOrganizationUsersRequest) GetPageSize() uint32
func (*ListOrganizationUsersRequest) GetPageToken ¶
func (x *ListOrganizationUsersRequest) GetPageToken() string
func (*ListOrganizationUsersRequest) GetReverse ¶
func (x *ListOrganizationUsersRequest) GetReverse() bool
func (*ListOrganizationUsersRequest) ProtoMessage ¶
func (*ListOrganizationUsersRequest) ProtoMessage()
func (*ListOrganizationUsersRequest) ProtoReflect ¶
func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationUsersRequest) Reset ¶
func (x *ListOrganizationUsersRequest) Reset()
func (*ListOrganizationUsersRequest) String ¶
func (x *ListOrganizationUsersRequest) String() string
type ListOrganizationUsersResponse ¶
type ListOrganizationUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationUsersResponse) Descriptor
deprecated
func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationUsersResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationUsersResponse) GetNextPageToken ¶
func (x *ListOrganizationUsersResponse) GetNextPageToken() string
func (*ListOrganizationUsersResponse) GetUsers ¶
func (x *ListOrganizationUsersResponse) GetUsers() []*User
func (*ListOrganizationUsersResponse) ProtoMessage ¶
func (*ListOrganizationUsersResponse) ProtoMessage()
func (*ListOrganizationUsersResponse) ProtoReflect ¶
func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationUsersResponse) Reset ¶
func (x *ListOrganizationUsersResponse) Reset()
func (*ListOrganizationUsersResponse) String ¶
func (x *ListOrganizationUsersResponse) String() string
type ListOrganizationsRequest ¶
type ListOrganizationsRequest struct { PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationsRequest) Descriptor
deprecated
func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationsRequest) GetPageSize ¶
func (x *ListOrganizationsRequest) GetPageSize() uint32
func (*ListOrganizationsRequest) GetPageToken ¶
func (x *ListOrganizationsRequest) GetPageToken() string
func (*ListOrganizationsRequest) GetReverse ¶
func (x *ListOrganizationsRequest) GetReverse() bool
func (*ListOrganizationsRequest) ProtoMessage ¶
func (*ListOrganizationsRequest) ProtoMessage()
func (*ListOrganizationsRequest) ProtoReflect ¶
func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationsRequest) Reset ¶
func (x *ListOrganizationsRequest) Reset()
func (*ListOrganizationsRequest) String ¶
func (x *ListOrganizationsRequest) String() string
type ListOrganizationsResponse ¶
type ListOrganizationsResponse struct { Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationsResponse) Descriptor
deprecated
func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationsResponse) GetNextPageToken ¶
func (x *ListOrganizationsResponse) GetNextPageToken() string
func (*ListOrganizationsResponse) GetOrganizations ¶
func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
func (*ListOrganizationsResponse) ProtoMessage ¶
func (*ListOrganizationsResponse) ProtoMessage()
func (*ListOrganizationsResponse) ProtoReflect ¶
func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationsResponse) Reset ¶
func (x *ListOrganizationsResponse) Reset()
func (*ListOrganizationsResponse) String ¶
func (x *ListOrganizationsResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct { PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoriesRequest) Descriptor
deprecated
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetPageSize ¶
func (x *ListRepositoriesRequest) GetPageSize() uint32
func (*ListRepositoriesRequest) GetPageToken ¶
func (x *ListRepositoriesRequest) GetPageToken() string
func (*ListRepositoriesRequest) GetReverse ¶
func (x *ListRepositoriesRequest) GetReverse() bool
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoriesResponse) Descriptor
deprecated
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetNextPageToken ¶
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (*ListRepositoriesResponse) GetRepositories ¶
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type ListRepositoryBranchesRequest ¶
type ListRepositoryBranchesRequest struct { // The ID of the repository whose branches should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryBranchesRequest) Descriptor
deprecated
func (*ListRepositoryBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryBranchesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoryBranchesRequest) GetPageSize ¶
func (x *ListRepositoryBranchesRequest) GetPageSize() uint32
func (*ListRepositoryBranchesRequest) GetPageToken ¶
func (x *ListRepositoryBranchesRequest) GetPageToken() string
func (*ListRepositoryBranchesRequest) GetRepositoryId ¶
func (x *ListRepositoryBranchesRequest) GetRepositoryId() string
func (*ListRepositoryBranchesRequest) GetReverse ¶
func (x *ListRepositoryBranchesRequest) GetReverse() bool
func (*ListRepositoryBranchesRequest) ProtoMessage ¶
func (*ListRepositoryBranchesRequest) ProtoMessage()
func (*ListRepositoryBranchesRequest) ProtoReflect ¶
func (x *ListRepositoryBranchesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoryBranchesRequest) Reset ¶
func (x *ListRepositoryBranchesRequest) Reset()
func (*ListRepositoryBranchesRequest) String ¶
func (x *ListRepositoryBranchesRequest) String() string
type ListRepositoryBranchesResponse ¶
type ListRepositoryBranchesResponse struct { RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryBranchesResponse) Descriptor
deprecated
func (*ListRepositoryBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryBranchesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoryBranchesResponse) GetNextPageToken ¶
func (x *ListRepositoryBranchesResponse) GetNextPageToken() string
func (*ListRepositoryBranchesResponse) GetRepositoryBranches ¶
func (x *ListRepositoryBranchesResponse) GetRepositoryBranches() []*RepositoryBranch
func (*ListRepositoryBranchesResponse) ProtoMessage ¶
func (*ListRepositoryBranchesResponse) ProtoMessage()
func (*ListRepositoryBranchesResponse) ProtoReflect ¶
func (x *ListRepositoryBranchesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoryBranchesResponse) Reset ¶
func (x *ListRepositoryBranchesResponse) Reset()
func (*ListRepositoryBranchesResponse) String ¶
func (x *ListRepositoryBranchesResponse) String() string
type ListRepositoryCommitsByBranchRequest ¶
type ListRepositoryCommitsByBranchRequest struct { // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The name of the repository branch whose commits should be listed. RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"` PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is 0. PageToken int64 `protobuf:"varint,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryCommitsByBranchRequest) Descriptor
deprecated
func (*ListRepositoryCommitsByBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryCommitsByBranchRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoryCommitsByBranchRequest) GetPageSize ¶
func (x *ListRepositoryCommitsByBranchRequest) GetPageSize() uint32
func (*ListRepositoryCommitsByBranchRequest) GetPageToken ¶
func (x *ListRepositoryCommitsByBranchRequest) GetPageToken() int64
func (*ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName ¶
func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName() string
func (*ListRepositoryCommitsByBranchRequest) GetRepositoryName ¶
func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryName() string
func (*ListRepositoryCommitsByBranchRequest) GetRepositoryOwner ¶
func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryOwner() string
func (*ListRepositoryCommitsByBranchRequest) GetReverse ¶
func (x *ListRepositoryCommitsByBranchRequest) GetReverse() bool
func (*ListRepositoryCommitsByBranchRequest) ProtoMessage ¶
func (*ListRepositoryCommitsByBranchRequest) ProtoMessage()
func (*ListRepositoryCommitsByBranchRequest) ProtoReflect ¶
func (x *ListRepositoryCommitsByBranchRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoryCommitsByBranchRequest) Reset ¶
func (x *ListRepositoryCommitsByBranchRequest) Reset()
func (*ListRepositoryCommitsByBranchRequest) String ¶
func (x *ListRepositoryCommitsByBranchRequest) String() string
type ListRepositoryCommitsByBranchResponse ¶
type ListRepositoryCommitsByBranchResponse struct { RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` // There are no more pages if this is 0. NextPageToken int64 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryCommitsByBranchResponse) Descriptor
deprecated
func (*ListRepositoryCommitsByBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryCommitsByBranchResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoryCommitsByBranchResponse) GetNextPageToken ¶
func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() int64
func (*ListRepositoryCommitsByBranchResponse) GetRepositoryCommits ¶
func (x *ListRepositoryCommitsByBranchResponse) GetRepositoryCommits() []*RepositoryCommit
func (*ListRepositoryCommitsByBranchResponse) ProtoMessage ¶
func (*ListRepositoryCommitsByBranchResponse) ProtoMessage()
func (*ListRepositoryCommitsByBranchResponse) ProtoReflect ¶
func (x *ListRepositoryCommitsByBranchResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoryCommitsByBranchResponse) Reset ¶
func (x *ListRepositoryCommitsByBranchResponse) Reset()
func (*ListRepositoryCommitsByBranchResponse) String ¶
func (x *ListRepositoryCommitsByBranchResponse) String() string
type ListRepositoryTagsRequest ¶
type ListRepositoryTagsRequest struct { // The ID of the repository whose tags should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryTagsRequest) Descriptor
deprecated
func (*ListRepositoryTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryTagsRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoryTagsRequest) GetPageSize ¶
func (x *ListRepositoryTagsRequest) GetPageSize() uint32
func (*ListRepositoryTagsRequest) GetPageToken ¶
func (x *ListRepositoryTagsRequest) GetPageToken() string
func (*ListRepositoryTagsRequest) GetRepositoryId ¶
func (x *ListRepositoryTagsRequest) GetRepositoryId() string
func (*ListRepositoryTagsRequest) GetReverse ¶
func (x *ListRepositoryTagsRequest) GetReverse() bool
func (*ListRepositoryTagsRequest) ProtoMessage ¶
func (*ListRepositoryTagsRequest) ProtoMessage()
func (*ListRepositoryTagsRequest) ProtoReflect ¶
func (x *ListRepositoryTagsRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoryTagsRequest) Reset ¶
func (x *ListRepositoryTagsRequest) Reset()
func (*ListRepositoryTagsRequest) String ¶
func (x *ListRepositoryTagsRequest) String() string
type ListRepositoryTagsResponse ¶
type ListRepositoryTagsResponse struct { RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoryTagsResponse) Descriptor
deprecated
func (*ListRepositoryTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoryTagsResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoryTagsResponse) GetNextPageToken ¶
func (x *ListRepositoryTagsResponse) GetNextPageToken() string
func (*ListRepositoryTagsResponse) GetRepositoryTags ¶
func (x *ListRepositoryTagsResponse) GetRepositoryTags() []*RepositoryTag
func (*ListRepositoryTagsResponse) ProtoMessage ¶
func (*ListRepositoryTagsResponse) ProtoMessage()
func (*ListRepositoryTagsResponse) ProtoReflect ¶
func (x *ListRepositoryTagsResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoryTagsResponse) Reset ¶
func (x *ListRepositoryTagsResponse) Reset()
func (*ListRepositoryTagsResponse) String ¶
func (x *ListRepositoryTagsResponse) String() string
type ListUserOrganizationsRequest ¶
type ListUserOrganizationsRequest struct { // The ID of the user whose organizations should be listed. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListUserOrganizationsRequest) Descriptor
deprecated
func (*ListUserOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*ListUserOrganizationsRequest) GetPageSize ¶
func (x *ListUserOrganizationsRequest) GetPageSize() uint32
func (*ListUserOrganizationsRequest) GetPageToken ¶
func (x *ListUserOrganizationsRequest) GetPageToken() string
func (*ListUserOrganizationsRequest) GetReverse ¶
func (x *ListUserOrganizationsRequest) GetReverse() bool
func (*ListUserOrganizationsRequest) GetUserId ¶
func (x *ListUserOrganizationsRequest) GetUserId() string
func (*ListUserOrganizationsRequest) ProtoMessage ¶
func (*ListUserOrganizationsRequest) ProtoMessage()
func (*ListUserOrganizationsRequest) ProtoReflect ¶
func (x *ListUserOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListUserOrganizationsRequest) Reset ¶
func (x *ListUserOrganizationsRequest) Reset()
func (*ListUserOrganizationsRequest) String ¶
func (x *ListUserOrganizationsRequest) String() string
type ListUserOrganizationsResponse ¶
type ListUserOrganizationsResponse struct { Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListUserOrganizationsResponse) Descriptor
deprecated
func (*ListUserOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*ListUserOrganizationsResponse) GetNextPageToken ¶
func (x *ListUserOrganizationsResponse) GetNextPageToken() string
func (*ListUserOrganizationsResponse) GetOrganizations ¶
func (x *ListUserOrganizationsResponse) GetOrganizations() []*Organization
func (*ListUserOrganizationsResponse) ProtoMessage ¶
func (*ListUserOrganizationsResponse) ProtoMessage()
func (*ListUserOrganizationsResponse) ProtoReflect ¶
func (x *ListUserOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListUserOrganizationsResponse) Reset ¶
func (x *ListUserOrganizationsResponse) Reset()
func (*ListUserOrganizationsResponse) String ¶
func (x *ListUserOrganizationsResponse) String() string
type ListUserRepositoriesRequest ¶
type ListUserRepositoriesRequest struct { // The ID of the user whose repositories should be listed. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListUserRepositoriesRequest) Descriptor
deprecated
func (*ListUserRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListUserRepositoriesRequest) GetPageSize ¶
func (x *ListUserRepositoriesRequest) GetPageSize() uint32
func (*ListUserRepositoriesRequest) GetPageToken ¶
func (x *ListUserRepositoriesRequest) GetPageToken() string
func (*ListUserRepositoriesRequest) GetReverse ¶
func (x *ListUserRepositoriesRequest) GetReverse() bool
func (*ListUserRepositoriesRequest) GetUserId ¶
func (x *ListUserRepositoriesRequest) GetUserId() string
func (*ListUserRepositoriesRequest) ProtoMessage ¶
func (*ListUserRepositoriesRequest) ProtoMessage()
func (*ListUserRepositoriesRequest) ProtoReflect ¶
func (x *ListUserRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListUserRepositoriesRequest) Reset ¶
func (x *ListUserRepositoriesRequest) Reset()
func (*ListUserRepositoriesRequest) String ¶
func (x *ListUserRepositoriesRequest) String() string
type ListUserRepositoriesResponse ¶
type ListUserRepositoriesResponse struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListUserRepositoriesResponse) Descriptor
deprecated
func (*ListUserRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListUserRepositoriesResponse) GetNextPageToken ¶
func (x *ListUserRepositoriesResponse) GetNextPageToken() string
func (*ListUserRepositoriesResponse) GetRepositories ¶
func (x *ListUserRepositoriesResponse) GetRepositories() []*Repository
func (*ListUserRepositoriesResponse) ProtoMessage ¶
func (*ListUserRepositoriesResponse) ProtoMessage()
func (*ListUserRepositoriesResponse) ProtoReflect ¶
func (x *ListUserRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListUserRepositoriesResponse) Reset ¶
func (x *ListUserRepositoriesResponse) Reset()
func (*ListUserRepositoriesResponse) String ¶
func (x *ListUserRepositoriesResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() uint32
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) GetReverse ¶
func (x *ListUsersRequest) GetReverse() bool
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type LocalModulePin ¶
type LocalModulePin struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` Digest string `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
LocalModulePin is a local module pin.
It does not include a remote.
func (*LocalModulePin) Descriptor
deprecated
func (*LocalModulePin) Descriptor() ([]byte, []int)
Deprecated: Use LocalModulePin.ProtoReflect.Descriptor instead.
func (*LocalModulePin) GetBranch ¶
func (x *LocalModulePin) GetBranch() string
func (*LocalModulePin) GetCommit ¶
func (x *LocalModulePin) GetCommit() string
func (*LocalModulePin) GetCreateTime ¶
func (x *LocalModulePin) GetCreateTime() *timestamppb.Timestamp
func (*LocalModulePin) GetDigest ¶
func (x *LocalModulePin) GetDigest() string
func (*LocalModulePin) GetOwner ¶
func (x *LocalModulePin) GetOwner() string
func (*LocalModulePin) GetRepository ¶
func (x *LocalModulePin) GetRepository() string
func (*LocalModulePin) ProtoMessage ¶
func (*LocalModulePin) ProtoMessage()
func (*LocalModulePin) ProtoReflect ¶
func (x *LocalModulePin) ProtoReflect() protoreflect.Message
func (*LocalModulePin) Reset ¶
func (x *LocalModulePin) Reset()
func (*LocalModulePin) String ¶
func (x *LocalModulePin) String() string
type LocalModuleReference ¶
type LocalModuleReference struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // either branch or commit Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
LocalModuleReference is a local module reference.
It does not include a remote.
func (*LocalModuleReference) Descriptor
deprecated
func (*LocalModuleReference) Descriptor() ([]byte, []int)
Deprecated: Use LocalModuleReference.ProtoReflect.Descriptor instead.
func (*LocalModuleReference) GetOwner ¶
func (x *LocalModuleReference) GetOwner() string
func (*LocalModuleReference) GetReference ¶
func (x *LocalModuleReference) GetReference() string
func (*LocalModuleReference) GetRepository ¶
func (x *LocalModuleReference) GetRepository() string
func (*LocalModuleReference) ProtoMessage ¶
func (*LocalModuleReference) ProtoMessage()
func (*LocalModuleReference) ProtoReflect ¶
func (x *LocalModuleReference) ProtoReflect() protoreflect.Message
func (*LocalModuleReference) Reset ¶
func (x *LocalModuleReference) Reset()
func (*LocalModuleReference) String ¶
func (x *LocalModuleReference) String() string
type Organization ¶
type Organization struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // mutable UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // unique, mutable Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetCreateTime ¶
func (x *Organization) GetCreateTime() *timestamppb.Timestamp
func (*Organization) GetId ¶
func (x *Organization) GetId() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetUpdateTime ¶
func (x *Organization) GetUpdateTime() *timestamppb.Timestamp
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type OrganizationScope ¶
type OrganizationScope int32
const ( OrganizationScope_ORGANIZATION_SCOPE_UNSPECIFIED OrganizationScope = 0 OrganizationScope_ORGANIZATION_SCOPE_MEMBER OrganizationScope = 1 OrganizationScope_ORGANIZATION_SCOPE_ADMIN OrganizationScope = 2 OrganizationScope_ORGANIZATION_SCOPE_OWNER OrganizationScope = 3 )
func (OrganizationScope) Descriptor ¶
func (OrganizationScope) Descriptor() protoreflect.EnumDescriptor
func (OrganizationScope) Enum ¶
func (x OrganizationScope) Enum() *OrganizationScope
func (OrganizationScope) EnumDescriptor
deprecated
func (OrganizationScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrganizationScope.Descriptor instead.
func (OrganizationScope) Number ¶
func (x OrganizationScope) Number() protoreflect.EnumNumber
func (OrganizationScope) String ¶
func (x OrganizationScope) String() string
func (OrganizationScope) Type ¶
func (OrganizationScope) Type() protoreflect.EnumType
type OrganizationService ¶
type OrganizationService interface { // GetOrganization gets a organization by ID. GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error) // GetOrganizationByName gets a organization by name. GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error) // ListOrganizations lists all organizations. ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error) // ListUserOrganizations lists all organizations a user is member of. ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error) // CreateOrganization creates a new organization. CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error) // UpdateOrganizationName updates a organization's name. UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error) // UpdateOrganizationNameByName updates a organization's name by name. UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error) // DeleteOrganization deletes a organization. DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error) // DeleteOrganizationByName deletes a organization by name. DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error) // AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID. AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error) // AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name. AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error) // RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID. RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error) // RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name. RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error) }
OrganizationService is the Organization service.
func NewOrganizationServiceJSONClient ¶
func NewOrganizationServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) OrganizationService
NewOrganizationServiceJSONClient creates a JSON client that implements the OrganizationService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewOrganizationServiceProtobufClient ¶
func NewOrganizationServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) OrganizationService
NewOrganizationServiceProtobufClient creates a Protobuf client that implements the OrganizationService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type OrganizationServiceClient ¶
type OrganizationServiceClient interface { // GetOrganization gets a organization by ID. GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error) // GetOrganizationByName gets a organization by name. GetOrganizationByName(ctx context.Context, in *GetOrganizationByNameRequest, opts ...grpc.CallOption) (*GetOrganizationByNameResponse, error) // ListOrganizations lists all organizations. ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*ListOrganizationsResponse, error) // ListUserOrganizations lists all organizations a user is member of. ListUserOrganizations(ctx context.Context, in *ListUserOrganizationsRequest, opts ...grpc.CallOption) (*ListUserOrganizationsResponse, error) // CreateOrganization creates a new organization. CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error) // UpdateOrganizationName updates a organization's name. UpdateOrganizationName(ctx context.Context, in *UpdateOrganizationNameRequest, opts ...grpc.CallOption) (*UpdateOrganizationNameResponse, error) // UpdateOrganizationNameByName updates a organization's name by name. UpdateOrganizationNameByName(ctx context.Context, in *UpdateOrganizationNameByNameRequest, opts ...grpc.CallOption) (*UpdateOrganizationNameByNameResponse, error) // DeleteOrganization deletes a organization. DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error) // DeleteOrganizationByName deletes a organization by name. DeleteOrganizationByName(ctx context.Context, in *DeleteOrganizationByNameRequest, opts ...grpc.CallOption) (*DeleteOrganizationByNameResponse, error) // AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID. AddOrganizationBaseRepositoryScope(ctx context.Context, in *AddOrganizationBaseRepositoryScopeRequest, opts ...grpc.CallOption) (*AddOrganizationBaseRepositoryScopeResponse, error) // AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name. AddOrganizationBaseRepositoryScopeByName(ctx context.Context, in *AddOrganizationBaseRepositoryScopeByNameRequest, opts ...grpc.CallOption) (*AddOrganizationBaseRepositoryScopeByNameResponse, error) // RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID. RemoveOrganizationBaseRepositoryScope(ctx context.Context, in *RemoveOrganizationBaseRepositoryScopeRequest, opts ...grpc.CallOption) (*RemoveOrganizationBaseRepositoryScopeResponse, error) // RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name. RemoveOrganizationBaseRepositoryScopeByName(ctx context.Context, in *RemoveOrganizationBaseRepositoryScopeByNameRequest, opts ...grpc.CallOption) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error) }
OrganizationServiceClient is the client API for OrganizationService 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 NewOrganizationServiceClient ¶
func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient
type OrganizationServiceServer ¶
type OrganizationServiceServer interface { // GetOrganization gets a organization by ID. GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error) // GetOrganizationByName gets a organization by name. GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error) // ListOrganizations lists all organizations. ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error) // ListUserOrganizations lists all organizations a user is member of. ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error) // CreateOrganization creates a new organization. CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error) // UpdateOrganizationName updates a organization's name. UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error) // UpdateOrganizationNameByName updates a organization's name by name. UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error) // DeleteOrganization deletes a organization. DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error) // DeleteOrganizationByName deletes a organization by name. DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error) // AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID. AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error) // AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name. AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error) // RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID. RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error) // RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name. RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error) }
OrganizationServiceServer is the server API for OrganizationService service. All implementations should embed UnimplementedOrganizationServiceServer for forward compatibility
type PushRequest ¶
type PushRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` Module *v1alpha1.Module `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` // Optional; if provided, the provided tags // are created for the pushed commit. Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*PushRequest) Descriptor
deprecated
func (*PushRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
func (*PushRequest) GetBranch ¶
func (x *PushRequest) GetBranch() string
func (*PushRequest) GetModule ¶
func (x *PushRequest) GetModule() *v1alpha1.Module
func (*PushRequest) GetOwner ¶
func (x *PushRequest) GetOwner() string
func (*PushRequest) GetRepository ¶
func (x *PushRequest) GetRepository() string
func (*PushRequest) GetTags ¶
func (x *PushRequest) GetTags() []string
func (*PushRequest) ProtoMessage ¶
func (*PushRequest) ProtoMessage()
func (*PushRequest) ProtoReflect ¶
func (x *PushRequest) ProtoReflect() protoreflect.Message
func (*PushRequest) Reset ¶
func (x *PushRequest) Reset()
func (*PushRequest) String ¶
func (x *PushRequest) String() string
type PushResponse ¶
type PushResponse struct { LocalModulePin *LocalModulePin `protobuf:"bytes,5,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"` // contains filtered or unexported fields }
func (*PushResponse) Descriptor
deprecated
func (*PushResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
func (*PushResponse) GetLocalModulePin ¶
func (x *PushResponse) GetLocalModulePin() *LocalModulePin
func (*PushResponse) ProtoMessage ¶
func (*PushResponse) ProtoMessage()
func (*PushResponse) ProtoReflect ¶
func (x *PushResponse) ProtoReflect() protoreflect.Message
func (*PushResponse) Reset ¶
func (x *PushResponse) Reset()
func (*PushResponse) String ¶
func (x *PushResponse) String() string
type PushService ¶
type PushService interface { // Push pushes. Push(context.Context, *PushRequest) (*PushResponse, error) }
PushService is the Push service.
func NewPushServiceJSONClient ¶
func NewPushServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) PushService
NewPushServiceJSONClient creates a JSON client that implements the PushService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewPushServiceProtobufClient ¶
func NewPushServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) PushService
NewPushServiceProtobufClient creates a Protobuf client that implements the PushService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type PushServiceClient ¶
type PushServiceClient interface { // Push pushes. Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error) }
PushServiceClient is the client API for PushService 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 NewPushServiceClient ¶
func NewPushServiceClient(cc grpc.ClientConnInterface) PushServiceClient
type PushServiceServer ¶
type PushServiceServer interface { // Push pushes. Push(context.Context, *PushRequest) (*PushResponse, error) }
PushServiceServer is the server API for PushService service. All implementations should embed UnimplementedPushServiceServer for forward compatibility
type RemoveOrganizationBaseRepositoryScopeByNameRequest ¶
type RemoveOrganizationBaseRepositoryScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Descriptor
deprecated
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOrganizationBaseRepositoryScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) GetName ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) GetName() string
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope() RepositoryScope
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage ¶
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage()
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Reset ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) Reset()
func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) String ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameRequest) String() string
type RemoveOrganizationBaseRepositoryScopeByNameResponse ¶
type RemoveOrganizationBaseRepositoryScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Descriptor
deprecated
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOrganizationBaseRepositoryScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage ¶
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage()
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Reset ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) Reset()
func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) String ¶
func (x *RemoveOrganizationBaseRepositoryScopeByNameResponse) String() string
type RemoveOrganizationBaseRepositoryScopeRequest ¶
type RemoveOrganizationBaseRepositoryScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveOrganizationBaseRepositoryScopeRequest) Descriptor
deprecated
func (*RemoveOrganizationBaseRepositoryScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOrganizationBaseRepositoryScopeRequest.ProtoReflect.Descriptor instead.
func (*RemoveOrganizationBaseRepositoryScopeRequest) GetId ¶
func (x *RemoveOrganizationBaseRepositoryScopeRequest) GetId() string
func (*RemoveOrganizationBaseRepositoryScopeRequest) GetRepositoryScope ¶
func (x *RemoveOrganizationBaseRepositoryScopeRequest) GetRepositoryScope() RepositoryScope
func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoMessage ¶
func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoMessage()
func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoReflect ¶
func (x *RemoveOrganizationBaseRepositoryScopeRequest) ProtoReflect() protoreflect.Message
func (*RemoveOrganizationBaseRepositoryScopeRequest) Reset ¶
func (x *RemoveOrganizationBaseRepositoryScopeRequest) Reset()
func (*RemoveOrganizationBaseRepositoryScopeRequest) String ¶
func (x *RemoveOrganizationBaseRepositoryScopeRequest) String() string
type RemoveOrganizationBaseRepositoryScopeResponse ¶
type RemoveOrganizationBaseRepositoryScopeResponse struct {
// contains filtered or unexported fields
}
func (*RemoveOrganizationBaseRepositoryScopeResponse) Descriptor
deprecated
func (*RemoveOrganizationBaseRepositoryScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOrganizationBaseRepositoryScopeResponse.ProtoReflect.Descriptor instead.
func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoMessage ¶
func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoMessage()
func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoReflect ¶
func (x *RemoveOrganizationBaseRepositoryScopeResponse) ProtoReflect() protoreflect.Message
func (*RemoveOrganizationBaseRepositoryScopeResponse) Reset ¶
func (x *RemoveOrganizationBaseRepositoryScopeResponse) Reset()
func (*RemoveOrganizationBaseRepositoryScopeResponse) String ¶
func (x *RemoveOrganizationBaseRepositoryScopeResponse) String() string
type RemoveUserOrganizationScopeByNameRequest ¶
type RemoveUserOrganizationScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveUserOrganizationScopeByNameRequest) Descriptor
deprecated
func (*RemoveUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserOrganizationScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserOrganizationScopeByNameRequest) GetName ¶
func (x *RemoveUserOrganizationScopeByNameRequest) GetName() string
func (*RemoveUserOrganizationScopeByNameRequest) GetOrganizationName ¶
func (x *RemoveUserOrganizationScopeByNameRequest) GetOrganizationName() string
func (*RemoveUserOrganizationScopeByNameRequest) GetOrganizationScope ¶
func (x *RemoveUserOrganizationScopeByNameRequest) GetOrganizationScope() OrganizationScope
func (*RemoveUserOrganizationScopeByNameRequest) ProtoMessage ¶
func (*RemoveUserOrganizationScopeByNameRequest) ProtoMessage()
func (*RemoveUserOrganizationScopeByNameRequest) ProtoReflect ¶
func (x *RemoveUserOrganizationScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserOrganizationScopeByNameRequest) Reset ¶
func (x *RemoveUserOrganizationScopeByNameRequest) Reset()
func (*RemoveUserOrganizationScopeByNameRequest) String ¶
func (x *RemoveUserOrganizationScopeByNameRequest) String() string
type RemoveUserOrganizationScopeByNameResponse ¶
type RemoveUserOrganizationScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUserOrganizationScopeByNameResponse) Descriptor
deprecated
func (*RemoveUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserOrganizationScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserOrganizationScopeByNameResponse) ProtoMessage ¶
func (*RemoveUserOrganizationScopeByNameResponse) ProtoMessage()
func (*RemoveUserOrganizationScopeByNameResponse) ProtoReflect ¶
func (x *RemoveUserOrganizationScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserOrganizationScopeByNameResponse) Reset ¶
func (x *RemoveUserOrganizationScopeByNameResponse) Reset()
func (*RemoveUserOrganizationScopeByNameResponse) String ¶
func (x *RemoveUserOrganizationScopeByNameResponse) String() string
type RemoveUserOrganizationScopeRequest ¶
type RemoveUserOrganizationScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveUserOrganizationScopeRequest) Descriptor
deprecated
func (*RemoveUserOrganizationScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserOrganizationScopeRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserOrganizationScopeRequest) GetId ¶
func (x *RemoveUserOrganizationScopeRequest) GetId() string
func (*RemoveUserOrganizationScopeRequest) GetOrganizationId ¶
func (x *RemoveUserOrganizationScopeRequest) GetOrganizationId() string
func (*RemoveUserOrganizationScopeRequest) GetOrganizationScope ¶
func (x *RemoveUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope
func (*RemoveUserOrganizationScopeRequest) ProtoMessage ¶
func (*RemoveUserOrganizationScopeRequest) ProtoMessage()
func (*RemoveUserOrganizationScopeRequest) ProtoReflect ¶
func (x *RemoveUserOrganizationScopeRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserOrganizationScopeRequest) Reset ¶
func (x *RemoveUserOrganizationScopeRequest) Reset()
func (*RemoveUserOrganizationScopeRequest) String ¶
func (x *RemoveUserOrganizationScopeRequest) String() string
type RemoveUserOrganizationScopeResponse ¶
type RemoveUserOrganizationScopeResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUserOrganizationScopeResponse) Descriptor
deprecated
func (*RemoveUserOrganizationScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserOrganizationScopeResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserOrganizationScopeResponse) ProtoMessage ¶
func (*RemoveUserOrganizationScopeResponse) ProtoMessage()
func (*RemoveUserOrganizationScopeResponse) ProtoReflect ¶
func (x *RemoveUserOrganizationScopeResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserOrganizationScopeResponse) Reset ¶
func (x *RemoveUserOrganizationScopeResponse) Reset()
func (*RemoveUserOrganizationScopeResponse) String ¶
func (x *RemoveUserOrganizationScopeResponse) String() string
type RemoveUserServerScopeByNameRequest ¶
type RemoveUserServerScopeByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ServerScope ServerScope `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveUserServerScopeByNameRequest) Descriptor
deprecated
func (*RemoveUserServerScopeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserServerScopeByNameRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserServerScopeByNameRequest) GetName ¶
func (x *RemoveUserServerScopeByNameRequest) GetName() string
func (*RemoveUserServerScopeByNameRequest) GetServerScope ¶
func (x *RemoveUserServerScopeByNameRequest) GetServerScope() ServerScope
func (*RemoveUserServerScopeByNameRequest) ProtoMessage ¶
func (*RemoveUserServerScopeByNameRequest) ProtoMessage()
func (*RemoveUserServerScopeByNameRequest) ProtoReflect ¶
func (x *RemoveUserServerScopeByNameRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserServerScopeByNameRequest) Reset ¶
func (x *RemoveUserServerScopeByNameRequest) Reset()
func (*RemoveUserServerScopeByNameRequest) String ¶
func (x *RemoveUserServerScopeByNameRequest) String() string
type RemoveUserServerScopeByNameResponse ¶
type RemoveUserServerScopeByNameResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUserServerScopeByNameResponse) Descriptor
deprecated
func (*RemoveUserServerScopeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserServerScopeByNameResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserServerScopeByNameResponse) ProtoMessage ¶
func (*RemoveUserServerScopeByNameResponse) ProtoMessage()
func (*RemoveUserServerScopeByNameResponse) ProtoReflect ¶
func (x *RemoveUserServerScopeByNameResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserServerScopeByNameResponse) Reset ¶
func (x *RemoveUserServerScopeByNameResponse) Reset()
func (*RemoveUserServerScopeByNameResponse) String ¶
func (x *RemoveUserServerScopeByNameResponse) String() string
type RemoveUserServerScopeRequest ¶
type RemoveUserServerScopeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ServerScope ServerScope `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveUserServerScopeRequest) Descriptor
deprecated
func (*RemoveUserServerScopeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserServerScopeRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserServerScopeRequest) GetId ¶
func (x *RemoveUserServerScopeRequest) GetId() string
func (*RemoveUserServerScopeRequest) GetServerScope ¶
func (x *RemoveUserServerScopeRequest) GetServerScope() ServerScope
func (*RemoveUserServerScopeRequest) ProtoMessage ¶
func (*RemoveUserServerScopeRequest) ProtoMessage()
func (*RemoveUserServerScopeRequest) ProtoReflect ¶
func (x *RemoveUserServerScopeRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserServerScopeRequest) Reset ¶
func (x *RemoveUserServerScopeRequest) Reset()
func (*RemoveUserServerScopeRequest) String ¶
func (x *RemoveUserServerScopeRequest) String() string
type RemoveUserServerScopeResponse ¶
type RemoveUserServerScopeResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUserServerScopeResponse) Descriptor
deprecated
func (*RemoveUserServerScopeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserServerScopeResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserServerScopeResponse) ProtoMessage ¶
func (*RemoveUserServerScopeResponse) ProtoMessage()
func (*RemoveUserServerScopeResponse) ProtoReflect ¶
func (x *RemoveUserServerScopeResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserServerScopeResponse) Reset ¶
func (x *RemoveUserServerScopeResponse) Reset()
func (*RemoveUserServerScopeResponse) String ¶
func (x *RemoveUserServerScopeResponse) String() string
type Repository ¶
type Repository struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // mutable UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // unique, mutable Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Owner: // *Repository_UserId // *Repository_OrganizationId Owner isRepository_Owner `protobuf_oneof:"owner"` Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetCreateTime ¶
func (x *Repository) GetCreateTime() *timestamppb.Timestamp
func (*Repository) GetId ¶
func (x *Repository) GetId() string
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetOrganizationId ¶
func (x *Repository) GetOrganizationId() string
func (*Repository) GetOwner ¶
func (m *Repository) GetOwner() isRepository_Owner
func (*Repository) GetUpdateTime ¶
func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
func (*Repository) GetUserId ¶
func (x *Repository) GetUserId() string
func (*Repository) GetVisibility ¶
func (x *Repository) GetVisibility() Visibility
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 RepositoryBranch ¶
type RepositoryBranch struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // We reserve field number '3' for the update_time. // google.protobuf.Timestamp update_time = 3; // The name of the repository branch, i.e. "v1". Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The ID of the repository this branch belongs to. RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*RepositoryBranch) Descriptor
deprecated
func (*RepositoryBranch) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryBranch.ProtoReflect.Descriptor instead.
func (*RepositoryBranch) GetCreateTime ¶
func (x *RepositoryBranch) GetCreateTime() *timestamppb.Timestamp
func (*RepositoryBranch) GetId ¶
func (x *RepositoryBranch) GetId() string
func (*RepositoryBranch) GetName ¶
func (x *RepositoryBranch) GetName() string
func (*RepositoryBranch) GetRepositoryId ¶
func (x *RepositoryBranch) GetRepositoryId() string
func (*RepositoryBranch) ProtoMessage ¶
func (*RepositoryBranch) ProtoMessage()
func (*RepositoryBranch) ProtoReflect ¶
func (x *RepositoryBranch) ProtoReflect() protoreflect.Message
func (*RepositoryBranch) Reset ¶
func (x *RepositoryBranch) Reset()
func (*RepositoryBranch) String ¶
func (x *RepositoryBranch) String() string
type RepositoryBranchService ¶
type RepositoryBranchService interface { // CreateRepositoryBranch creates a new repository branch. CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error) // ListRepositoryBranches lists the repository branches associated with a Repository. ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error) }
RepositoryBranchService is the Repository branch service.
func NewRepositoryBranchServiceJSONClient ¶
func NewRepositoryBranchServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryBranchService
NewRepositoryBranchServiceJSONClient creates a JSON client that implements the RepositoryBranchService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRepositoryBranchServiceProtobufClient ¶
func NewRepositoryBranchServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryBranchService
NewRepositoryBranchServiceProtobufClient creates a Protobuf client that implements the RepositoryBranchService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RepositoryBranchServiceClient ¶
type RepositoryBranchServiceClient interface { // CreateRepositoryBranch creates a new repository branch. CreateRepositoryBranch(ctx context.Context, in *CreateRepositoryBranchRequest, opts ...grpc.CallOption) (*CreateRepositoryBranchResponse, error) // ListRepositoryBranches lists the repository branches associated with a Repository. ListRepositoryBranches(ctx context.Context, in *ListRepositoryBranchesRequest, opts ...grpc.CallOption) (*ListRepositoryBranchesResponse, error) }
RepositoryBranchServiceClient is the client API for RepositoryBranchService 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 NewRepositoryBranchServiceClient ¶
func NewRepositoryBranchServiceClient(cc grpc.ClientConnInterface) RepositoryBranchServiceClient
type RepositoryBranchServiceServer ¶
type RepositoryBranchServiceServer interface { // CreateRepositoryBranch creates a new repository branch. CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error) // ListRepositoryBranches lists the repository branches associated with a Repository. ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error) }
RepositoryBranchServiceServer is the server API for RepositoryBranchService service. All implementations should embed UnimplementedRepositoryBranchServiceServer for forward compatibility
type RepositoryCommit ¶
type RepositoryCommit struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The digest of the commit. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // The name of the commit. // This is what is referenced by users. // Unique, immutable. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The branch on which this commit was created. Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` // The commit sequence ID for this commit. This // is essentially what number commit this is on // the branch. CommitSequenceId int64 `protobuf:"varint,6,opt,name=commit_sequence_id,json=commitSequenceId,proto3" json:"commit_sequence_id,omitempty"` // The username of the user who authored this commit. Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` // contains filtered or unexported fields }
func (*RepositoryCommit) Descriptor
deprecated
func (*RepositoryCommit) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryCommit.ProtoReflect.Descriptor instead.
func (*RepositoryCommit) GetAuthor ¶
func (x *RepositoryCommit) GetAuthor() string
func (*RepositoryCommit) GetBranch ¶
func (x *RepositoryCommit) GetBranch() string
func (*RepositoryCommit) GetCommitSequenceId ¶
func (x *RepositoryCommit) GetCommitSequenceId() int64
func (*RepositoryCommit) GetCreateTime ¶
func (x *RepositoryCommit) GetCreateTime() *timestamppb.Timestamp
func (*RepositoryCommit) GetDigest ¶
func (x *RepositoryCommit) GetDigest() string
func (*RepositoryCommit) GetId ¶
func (x *RepositoryCommit) GetId() string
func (*RepositoryCommit) GetName ¶
func (x *RepositoryCommit) GetName() string
func (*RepositoryCommit) ProtoMessage ¶
func (*RepositoryCommit) ProtoMessage()
func (*RepositoryCommit) ProtoReflect ¶
func (x *RepositoryCommit) ProtoReflect() protoreflect.Message
func (*RepositoryCommit) Reset ¶
func (x *RepositoryCommit) Reset()
func (*RepositoryCommit) String ¶
func (x *RepositoryCommit) String() string
type RepositoryCommitService ¶
type RepositoryCommitService interface { // ListRepositoryCommitsByBranch lists the repository commits associated // with a repository branch on a repository, ordered by their create time. ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error) // GetRepositoryCommitByReference returns the repository commit matching // the provided reference, if it exists. GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error) // GetRepositoryCommitBySequenceID returns the repository commit matching // the provided sequence ID and branch, if it exists. GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error) }
RepositoryCommitService is the Repository commit service.
func NewRepositoryCommitServiceJSONClient ¶
func NewRepositoryCommitServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryCommitService
NewRepositoryCommitServiceJSONClient creates a JSON client that implements the RepositoryCommitService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRepositoryCommitServiceProtobufClient ¶
func NewRepositoryCommitServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryCommitService
NewRepositoryCommitServiceProtobufClient creates a Protobuf client that implements the RepositoryCommitService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RepositoryCommitServiceClient ¶
type RepositoryCommitServiceClient interface { // ListRepositoryCommitsByBranch lists the repository commits associated // with a repository branch on a repository, ordered by their create time. ListRepositoryCommitsByBranch(ctx context.Context, in *ListRepositoryCommitsByBranchRequest, opts ...grpc.CallOption) (*ListRepositoryCommitsByBranchResponse, error) // GetRepositoryCommitByReference returns the repository commit matching // the provided reference, if it exists. GetRepositoryCommitByReference(ctx context.Context, in *GetRepositoryCommitByReferenceRequest, opts ...grpc.CallOption) (*GetRepositoryCommitByReferenceResponse, error) // GetRepositoryCommitBySequenceID returns the repository commit matching // the provided sequence ID and branch, if it exists. GetRepositoryCommitBySequenceID(ctx context.Context, in *GetRepositoryCommitBySequenceIDRequest, opts ...grpc.CallOption) (*GetRepositoryCommitBySequenceIDResponse, error) }
RepositoryCommitServiceClient is the client API for RepositoryCommitService 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 NewRepositoryCommitServiceClient ¶
func NewRepositoryCommitServiceClient(cc grpc.ClientConnInterface) RepositoryCommitServiceClient
type RepositoryCommitServiceServer ¶
type RepositoryCommitServiceServer interface { // ListRepositoryCommitsByBranch lists the repository commits associated // with a repository branch on a repository, ordered by their create time. ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error) // GetRepositoryCommitByReference returns the repository commit matching // the provided reference, if it exists. GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error) // GetRepositoryCommitBySequenceID returns the repository commit matching // the provided sequence ID and branch, if it exists. GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error) }
RepositoryCommitServiceServer is the server API for RepositoryCommitService service. All implementations should embed UnimplementedRepositoryCommitServiceServer for forward compatibility
type RepositoryScope ¶
type RepositoryScope int32
const ( RepositoryScope_REPOSITORY_SCOPE_UNSPECIFIED RepositoryScope = 0 RepositoryScope_REPOSITORY_SCOPE_READ RepositoryScope = 1 RepositoryScope_REPOSITORY_SCOPE_READ_WRITE RepositoryScope = 2 RepositoryScope_REPOSITORY_SCOPE_ADMIN RepositoryScope = 3 )
func (RepositoryScope) Descriptor ¶
func (RepositoryScope) Descriptor() protoreflect.EnumDescriptor
func (RepositoryScope) Enum ¶
func (x RepositoryScope) Enum() *RepositoryScope
func (RepositoryScope) EnumDescriptor
deprecated
func (RepositoryScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepositoryScope.Descriptor instead.
func (RepositoryScope) Number ¶
func (x RepositoryScope) Number() protoreflect.EnumNumber
func (RepositoryScope) String ¶
func (x RepositoryScope) String() string
func (RepositoryScope) Type ¶
func (RepositoryScope) Type() protoreflect.EnumType
type RepositoryService ¶
type RepositoryService interface { // GetRepository gets a repository by ID. GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error) // GetRepositoryByFullName gets a repository by full name. GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error) // ListRepositories lists all repositories. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // ListUserRepositories lists all repositories belonging to a user. ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error) // ListOrganizationRepositories lists all repositories for an organization. ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error) // CreateRepositoryByFullName creates a new repository by full name. CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error) // UpdateRepositoryName updates a repository's name. UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error) // UpdateRepositoryNameByFullName updates a repository's name by full name. UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error) // UpdateRepositoryVisibility updates a repository's visibility. UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error) // UpdateRepositoryVisibilityByName updates a repository's visibility by name. UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error) // DeleteRepository deletes a repository. DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error) // DeleteRepositoryByFullName deletes a repository by full name. DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error) }
RepositoryService is the Repository service.
func NewRepositoryServiceJSONClient ¶
func NewRepositoryServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryService
NewRepositoryServiceJSONClient creates a JSON client that implements the RepositoryService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRepositoryServiceProtobufClient ¶
func NewRepositoryServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryService
NewRepositoryServiceProtobufClient creates a Protobuf client that implements the RepositoryService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // GetRepository gets a repository by ID. GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*GetRepositoryResponse, error) // GetRepositoryByFullName gets a repository by full name. GetRepositoryByFullName(ctx context.Context, in *GetRepositoryByFullNameRequest, opts ...grpc.CallOption) (*GetRepositoryByFullNameResponse, error) // ListRepositories lists all repositories. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // ListUserRepositories lists all repositories belonging to a user. ListUserRepositories(ctx context.Context, in *ListUserRepositoriesRequest, opts ...grpc.CallOption) (*ListUserRepositoriesResponse, error) // ListOrganizationRepositories lists all repositories for an organization. ListOrganizationRepositories(ctx context.Context, in *ListOrganizationRepositoriesRequest, opts ...grpc.CallOption) (*ListOrganizationRepositoriesResponse, error) // CreateRepositoryByFullName creates a new repository by full name. CreateRepositoryByFullName(ctx context.Context, in *CreateRepositoryByFullNameRequest, opts ...grpc.CallOption) (*CreateRepositoryByFullNameResponse, error) // UpdateRepositoryName updates a repository's name. UpdateRepositoryName(ctx context.Context, in *UpdateRepositoryNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryNameResponse, error) // UpdateRepositoryNameByFullName updates a repository's name by full name. UpdateRepositoryNameByFullName(ctx context.Context, in *UpdateRepositoryNameByFullNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryNameByFullNameResponse, error) // UpdateRepositoryVisibility updates a repository's visibility. UpdateRepositoryVisibility(ctx context.Context, in *UpdateRepositoryVisibilityRequest, opts ...grpc.CallOption) (*UpdateRepositoryVisibilityResponse, error) // UpdateRepositoryVisibilityByName updates a repository's visibility by name. UpdateRepositoryVisibilityByName(ctx context.Context, in *UpdateRepositoryVisibilityByNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryVisibilityByNameResponse, error) // DeleteRepository deletes a repository. DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*DeleteRepositoryResponse, error) // DeleteRepositoryByFullName deletes a repository by full name. DeleteRepositoryByFullName(ctx context.Context, in *DeleteRepositoryByFullNameRequest, opts ...grpc.CallOption) (*DeleteRepositoryByFullNameResponse, 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 { // GetRepository gets a repository by ID. GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error) // GetRepositoryByFullName gets a repository by full name. GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error) // ListRepositories lists all repositories. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // ListUserRepositories lists all repositories belonging to a user. ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error) // ListOrganizationRepositories lists all repositories for an organization. ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error) // CreateRepositoryByFullName creates a new repository by full name. CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error) // UpdateRepositoryName updates a repository's name. UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error) // UpdateRepositoryNameByFullName updates a repository's name by full name. UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error) // UpdateRepositoryVisibility updates a repository's visibility. UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error) // UpdateRepositoryVisibilityByName updates a repository's visibility by name. UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error) // DeleteRepository deletes a repository. DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error) // DeleteRepositoryByFullName deletes a repository by full name. DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error) }
RepositoryServiceServer is the server API for RepositoryService service. All implementations should embed UnimplementedRepositoryServiceServer for forward compatibility
type RepositoryTag ¶
type RepositoryTag struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // We reserve field number '3' for the update_time. // google.protobuf.Timestamp update_time = 3; // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The name of the commit this tag belongs to. CommitName string `protobuf:"bytes,5,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` // The username of the author of the tag. Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` // contains filtered or unexported fields }
func (*RepositoryTag) Descriptor
deprecated
func (*RepositoryTag) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryTag.ProtoReflect.Descriptor instead.
func (*RepositoryTag) GetAuthor ¶
func (x *RepositoryTag) GetAuthor() string
func (*RepositoryTag) GetCommitName ¶
func (x *RepositoryTag) GetCommitName() string
func (*RepositoryTag) GetCreateTime ¶
func (x *RepositoryTag) GetCreateTime() *timestamppb.Timestamp
func (*RepositoryTag) GetId ¶
func (x *RepositoryTag) GetId() string
func (*RepositoryTag) GetName ¶
func (x *RepositoryTag) GetName() string
func (*RepositoryTag) ProtoMessage ¶
func (*RepositoryTag) ProtoMessage()
func (*RepositoryTag) ProtoReflect ¶
func (x *RepositoryTag) ProtoReflect() protoreflect.Message
func (*RepositoryTag) Reset ¶
func (x *RepositoryTag) Reset()
func (*RepositoryTag) String ¶
func (x *RepositoryTag) String() string
type RepositoryTagService ¶
type RepositoryTagService interface { // CreateRepositoryTag creates a new repository tag. CreateRepositoryTag(context.Context, *CreateRepositoryTagRequest) (*CreateRepositoryTagResponse, error) // ListRepositoryTags lists the repository tags associated with a Repository. ListRepositoryTags(context.Context, *ListRepositoryTagsRequest) (*ListRepositoryTagsResponse, error) }
RepositoryTagService is the Repository tag service.
func NewRepositoryTagServiceJSONClient ¶
func NewRepositoryTagServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryTagService
NewRepositoryTagServiceJSONClient creates a JSON client that implements the RepositoryTagService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRepositoryTagServiceProtobufClient ¶
func NewRepositoryTagServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryTagService
NewRepositoryTagServiceProtobufClient creates a Protobuf client that implements the RepositoryTagService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RepositoryTagServiceClient ¶
type RepositoryTagServiceClient interface { // CreateRepositoryTag creates a new repository tag. CreateRepositoryTag(ctx context.Context, in *CreateRepositoryTagRequest, opts ...grpc.CallOption) (*CreateRepositoryTagResponse, error) // ListRepositoryTags lists the repository tags associated with a Repository. ListRepositoryTags(ctx context.Context, in *ListRepositoryTagsRequest, opts ...grpc.CallOption) (*ListRepositoryTagsResponse, error) }
RepositoryTagServiceClient is the client API for RepositoryTagService 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 NewRepositoryTagServiceClient ¶
func NewRepositoryTagServiceClient(cc grpc.ClientConnInterface) RepositoryTagServiceClient
type RepositoryTagServiceServer ¶
type RepositoryTagServiceServer interface { // CreateRepositoryTag creates a new repository tag. CreateRepositoryTag(context.Context, *CreateRepositoryTagRequest) (*CreateRepositoryTagResponse, error) // ListRepositoryTags lists the repository tags associated with a Repository. ListRepositoryTags(context.Context, *ListRepositoryTagsRequest) (*ListRepositoryTagsResponse, error) }
RepositoryTagServiceServer is the server API for RepositoryTagService service. All implementations should embed UnimplementedRepositoryTagServiceServer for forward compatibility
type Repository_OrganizationId ¶
type Repository_OrganizationId struct { // foreign key, mutable OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3,oneof"` }
type Repository_UserId ¶
type Repository_UserId struct { // foreign key, mutable UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3,oneof"` }
type ResolveService ¶
type ResolveService interface { // GetModulePins finds all the latest digests and respective dependencies of // the provided module references and picks a set of distinct modules pins. // // Note that module references with commits should still be passed to this function // to make sure this function can do dependency resolution. // // This function also deals with tiebreaking what ModulePin wins for the same repository. GetModulePins(context.Context, *GetModulePinsRequest) (*GetModulePinsResponse, error) }
ResolveService is the resolve service.
This is the public service.
func NewResolveServiceJSONClient ¶
func NewResolveServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ResolveService
NewResolveServiceJSONClient creates a JSON client that implements the ResolveService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewResolveServiceProtobufClient ¶
func NewResolveServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ResolveService
NewResolveServiceProtobufClient creates a Protobuf client that implements the ResolveService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type ResolveServiceClient ¶
type ResolveServiceClient interface { // GetModulePins finds all the latest digests and respective dependencies of // the provided module references and picks a set of distinct modules pins. // // Note that module references with commits should still be passed to this function // to make sure this function can do dependency resolution. // // This function also deals with tiebreaking what ModulePin wins for the same repository. GetModulePins(ctx context.Context, in *GetModulePinsRequest, opts ...grpc.CallOption) (*GetModulePinsResponse, error) }
ResolveServiceClient is the client API for ResolveService 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 NewResolveServiceClient ¶
func NewResolveServiceClient(cc grpc.ClientConnInterface) ResolveServiceClient
type ResolveServiceServer ¶
type ResolveServiceServer interface { // GetModulePins finds all the latest digests and respective dependencies of // the provided module references and picks a set of distinct modules pins. // // Note that module references with commits should still be passed to this function // to make sure this function can do dependency resolution. // // This function also deals with tiebreaking what ModulePin wins for the same repository. GetModulePins(context.Context, *GetModulePinsRequest) (*GetModulePinsResponse, error) }
ResolveServiceServer is the server API for ResolveService service. All implementations should embed UnimplementedResolveServiceServer for forward compatibility
type ServerScope ¶
type ServerScope int32
const ( ServerScope_SERVER_SCOPE_UNSPECIFIED ServerScope = 0 ServerScope_SERVER_SCOPE_MEMBER ServerScope = 1 ServerScope_SERVER_SCOPE_ADMIN ServerScope = 2 )
func (ServerScope) Descriptor ¶
func (ServerScope) Descriptor() protoreflect.EnumDescriptor
func (ServerScope) Enum ¶
func (x ServerScope) Enum() *ServerScope
func (ServerScope) EnumDescriptor
deprecated
func (ServerScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerScope.Descriptor instead.
func (ServerScope) Number ¶
func (x ServerScope) Number() protoreflect.EnumNumber
func (ServerScope) String ¶
func (x ServerScope) String() string
func (ServerScope) Type ¶
func (ServerScope) Type() protoreflect.EnumType
type TwirpServer ¶
type TwirpServer interface { http.Handler // ServiceDescriptor returns gzipped bytes describing the .proto file that // this service was generated from. Once unzipped, the bytes can be // unmarshalled as a // google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto. // // The returned integer is the index of this particular service within that // FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a // low-level field, expected to be used for reflection. ServiceDescriptor() ([]byte, int) // ProtocGenTwirpVersion is the semantic version string of the version of // twirp used to generate this file. ProtocGenTwirpVersion() string // PathPrefix returns the HTTP URL path prefix for all methods handled by this // service. This can be used with an HTTP mux to route Twirp requests. // The path prefix is in the form: "/<prefix>/<package>.<Service>/" // that is, everything in a Twirp route except for the <Method> at the end. PathPrefix() string }
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.
func NewDownloadServiceServer ¶
func NewDownloadServiceServer(svc DownloadService, opts ...interface{}) TwirpServer
NewDownloadServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewOrganizationServiceServer ¶
func NewOrganizationServiceServer(svc OrganizationService, opts ...interface{}) TwirpServer
NewOrganizationServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewPushServiceServer ¶
func NewPushServiceServer(svc PushService, opts ...interface{}) TwirpServer
NewPushServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewRepositoryBranchServiceServer ¶
func NewRepositoryBranchServiceServer(svc RepositoryBranchService, opts ...interface{}) TwirpServer
NewRepositoryBranchServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewRepositoryCommitServiceServer ¶
func NewRepositoryCommitServiceServer(svc RepositoryCommitService, opts ...interface{}) TwirpServer
NewRepositoryCommitServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewRepositoryServiceServer ¶
func NewRepositoryServiceServer(svc RepositoryService, opts ...interface{}) TwirpServer
NewRepositoryServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewRepositoryTagServiceServer ¶
func NewRepositoryTagServiceServer(svc RepositoryTagService, opts ...interface{}) TwirpServer
NewRepositoryTagServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewResolveServiceServer ¶
func NewResolveServiceServer(svc ResolveService, opts ...interface{}) TwirpServer
NewResolveServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewUserServiceServer ¶
func NewUserServiceServer(svc UserService, opts ...interface{}) TwirpServer
NewUserServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
type UnimplementedDownloadServiceServer ¶
type UnimplementedDownloadServiceServer struct { }
UnimplementedDownloadServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDownloadServiceServer) Download ¶
func (UnimplementedDownloadServiceServer) Download(context.Context, *DownloadRequest) (*DownloadResponse, error)
type UnimplementedOrganizationServiceServer ¶
type UnimplementedOrganizationServiceServer struct { }
UnimplementedOrganizationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScope ¶
func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error)
func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScopeByName ¶
func (UnimplementedOrganizationServiceServer) AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error)
func (UnimplementedOrganizationServiceServer) CreateOrganization ¶
func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) DeleteOrganization ¶
func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) DeleteOrganizationByName ¶
func (UnimplementedOrganizationServiceServer) DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error)
func (UnimplementedOrganizationServiceServer) GetOrganization ¶
func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) GetOrganizationByName ¶
func (UnimplementedOrganizationServiceServer) GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
func (UnimplementedOrganizationServiceServer) ListOrganizations ¶
func (UnimplementedOrganizationServiceServer) ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
func (UnimplementedOrganizationServiceServer) ListUserOrganizations ¶
func (UnimplementedOrganizationServiceServer) ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error)
func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScope ¶
func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error)
func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScopeByName ¶
func (UnimplementedOrganizationServiceServer) RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error)
func (UnimplementedOrganizationServiceServer) UpdateOrganizationName ¶
func (UnimplementedOrganizationServiceServer) UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error)
func (UnimplementedOrganizationServiceServer) UpdateOrganizationNameByName ¶
func (UnimplementedOrganizationServiceServer) UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error)
type UnimplementedPushServiceServer ¶
type UnimplementedPushServiceServer struct { }
UnimplementedPushServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPushServiceServer) Push ¶
func (UnimplementedPushServiceServer) Push(context.Context, *PushRequest) (*PushResponse, error)
type UnimplementedRepositoryBranchServiceServer ¶
type UnimplementedRepositoryBranchServiceServer struct { }
UnimplementedRepositoryBranchServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRepositoryBranchServiceServer) CreateRepositoryBranch ¶
func (UnimplementedRepositoryBranchServiceServer) CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error)
func (UnimplementedRepositoryBranchServiceServer) ListRepositoryBranches ¶
func (UnimplementedRepositoryBranchServiceServer) ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error)
type UnimplementedRepositoryCommitServiceServer ¶
type UnimplementedRepositoryCommitServiceServer struct { }
UnimplementedRepositoryCommitServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitByReference ¶
func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error)
func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitBySequenceID ¶
func (UnimplementedRepositoryCommitServiceServer) GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error)
func (UnimplementedRepositoryCommitServiceServer) ListRepositoryCommitsByBranch ¶
func (UnimplementedRepositoryCommitServiceServer) ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error)
type UnimplementedRepositoryServiceServer ¶
type UnimplementedRepositoryServiceServer struct { }
UnimplementedRepositoryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRepositoryServiceServer) CreateRepositoryByFullName ¶
func (UnimplementedRepositoryServiceServer) CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error)
func (UnimplementedRepositoryServiceServer) DeleteRepository ¶
func (UnimplementedRepositoryServiceServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) DeleteRepositoryByFullName ¶
func (UnimplementedRepositoryServiceServer) DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error)
func (UnimplementedRepositoryServiceServer) GetRepository ¶
func (UnimplementedRepositoryServiceServer) GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) GetRepositoryByFullName ¶
func (UnimplementedRepositoryServiceServer) GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error)
func (UnimplementedRepositoryServiceServer) ListOrganizationRepositories ¶
func (UnimplementedRepositoryServiceServer) ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error)
func (UnimplementedRepositoryServiceServer) ListRepositories ¶
func (UnimplementedRepositoryServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (UnimplementedRepositoryServiceServer) ListUserRepositories ¶
func (UnimplementedRepositoryServiceServer) ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error)
func (UnimplementedRepositoryServiceServer) UpdateRepositoryName ¶
func (UnimplementedRepositoryServiceServer) UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error)
func (UnimplementedRepositoryServiceServer) UpdateRepositoryNameByFullName ¶
func (UnimplementedRepositoryServiceServer) UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error)
func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibility ¶
func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error)
func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibilityByName ¶
func (UnimplementedRepositoryServiceServer) UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error)
type UnimplementedRepositoryTagServiceServer ¶
type UnimplementedRepositoryTagServiceServer struct { }
UnimplementedRepositoryTagServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRepositoryTagServiceServer) CreateRepositoryTag ¶
func (UnimplementedRepositoryTagServiceServer) CreateRepositoryTag(context.Context, *CreateRepositoryTagRequest) (*CreateRepositoryTagResponse, error)
func (UnimplementedRepositoryTagServiceServer) ListRepositoryTags ¶
func (UnimplementedRepositoryTagServiceServer) ListRepositoryTags(context.Context, *ListRepositoryTagsRequest) (*ListRepositoryTagsResponse, error)
type UnimplementedResolveServiceServer ¶
type UnimplementedResolveServiceServer struct { }
UnimplementedResolveServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResolveServiceServer) GetModulePins ¶
func (UnimplementedResolveServiceServer) GetModulePins(context.Context, *GetModulePinsRequest) (*GetModulePinsResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) AddUserOrganizationScope ¶
func (UnimplementedUserServiceServer) AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error)
func (UnimplementedUserServiceServer) AddUserOrganizationScopeByName ¶
func (UnimplementedUserServiceServer) AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error)
func (UnimplementedUserServiceServer) AddUserServerScope ¶
func (UnimplementedUserServiceServer) AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error)
func (UnimplementedUserServiceServer) AddUserServerScopeByName ¶
func (UnimplementedUserServiceServer) AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) GetUserByUsername ¶
func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error)
func (UnimplementedUserServiceServer) ListOrganizationUsers ¶
func (UnimplementedUserServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
func (UnimplementedUserServiceServer) ListUsers ¶
func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) RemoveUserOrganizationScope ¶
func (UnimplementedUserServiceServer) RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error)
func (UnimplementedUserServiceServer) RemoveUserOrganizationScopeByName ¶
func (UnimplementedUserServiceServer) RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error)
func (UnimplementedUserServiceServer) RemoveUserServerScope ¶
func (UnimplementedUserServiceServer) RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error)
func (UnimplementedUserServiceServer) RemoveUserServerScopeByName ¶
func (UnimplementedUserServiceServer) RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error)
func (UnimplementedUserServiceServer) UpdateUserUsername ¶
func (UnimplementedUserServiceServer) UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error)
type UnsafeDownloadServiceServer ¶
type UnsafeDownloadServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDownloadServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DownloadServiceServer will result in compilation errors.
type UnsafeOrganizationServiceServer ¶
type UnsafeOrganizationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.
type UnsafePushServiceServer ¶
type UnsafePushServiceServer interface {
// contains filtered or unexported methods
}
UnsafePushServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PushServiceServer will result in compilation errors.
type UnsafeRepositoryBranchServiceServer ¶
type UnsafeRepositoryBranchServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryBranchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryBranchServiceServer will result in compilation errors.
type UnsafeRepositoryCommitServiceServer ¶
type UnsafeRepositoryCommitServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryCommitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryCommitServiceServer will result in compilation errors.
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 UnsafeRepositoryTagServiceServer ¶
type UnsafeRepositoryTagServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryTagServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryTagServiceServer will result in compilation errors.
type UnsafeResolveServiceServer ¶
type UnsafeResolveServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResolveServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResolveServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateOrganizationNameByNameRequest ¶
type UpdateOrganizationNameByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrganizationNameByNameRequest) Descriptor
deprecated
func (*UpdateOrganizationNameByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationNameByNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationNameByNameRequest) GetName ¶
func (x *UpdateOrganizationNameByNameRequest) GetName() string
func (*UpdateOrganizationNameByNameRequest) GetNewName ¶
func (x *UpdateOrganizationNameByNameRequest) GetNewName() string
func (*UpdateOrganizationNameByNameRequest) ProtoMessage ¶
func (*UpdateOrganizationNameByNameRequest) ProtoMessage()
func (*UpdateOrganizationNameByNameRequest) ProtoReflect ¶
func (x *UpdateOrganizationNameByNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationNameByNameRequest) Reset ¶
func (x *UpdateOrganizationNameByNameRequest) Reset()
func (*UpdateOrganizationNameByNameRequest) String ¶
func (x *UpdateOrganizationNameByNameRequest) String() string
type UpdateOrganizationNameByNameResponse ¶
type UpdateOrganizationNameByNameResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrganizationNameByNameResponse) Descriptor
deprecated
func (*UpdateOrganizationNameByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationNameByNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationNameByNameResponse) GetOrganization ¶
func (x *UpdateOrganizationNameByNameResponse) GetOrganization() *Organization
func (*UpdateOrganizationNameByNameResponse) ProtoMessage ¶
func (*UpdateOrganizationNameByNameResponse) ProtoMessage()
func (*UpdateOrganizationNameByNameResponse) ProtoReflect ¶
func (x *UpdateOrganizationNameByNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationNameByNameResponse) Reset ¶
func (x *UpdateOrganizationNameByNameResponse) Reset()
func (*UpdateOrganizationNameByNameResponse) String ¶
func (x *UpdateOrganizationNameByNameResponse) String() string
type UpdateOrganizationNameRequest ¶
type UpdateOrganizationNameRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrganizationNameRequest) Descriptor
deprecated
func (*UpdateOrganizationNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationNameRequest) GetId ¶
func (x *UpdateOrganizationNameRequest) GetId() string
func (*UpdateOrganizationNameRequest) GetNewName ¶
func (x *UpdateOrganizationNameRequest) GetNewName() string
func (*UpdateOrganizationNameRequest) ProtoMessage ¶
func (*UpdateOrganizationNameRequest) ProtoMessage()
func (*UpdateOrganizationNameRequest) ProtoReflect ¶
func (x *UpdateOrganizationNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationNameRequest) Reset ¶
func (x *UpdateOrganizationNameRequest) Reset()
func (*UpdateOrganizationNameRequest) String ¶
func (x *UpdateOrganizationNameRequest) String() string
type UpdateOrganizationNameResponse ¶
type UpdateOrganizationNameResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrganizationNameResponse) Descriptor
deprecated
func (*UpdateOrganizationNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationNameResponse) GetOrganization ¶
func (x *UpdateOrganizationNameResponse) GetOrganization() *Organization
func (*UpdateOrganizationNameResponse) ProtoMessage ¶
func (*UpdateOrganizationNameResponse) ProtoMessage()
func (*UpdateOrganizationNameResponse) ProtoReflect ¶
func (x *UpdateOrganizationNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationNameResponse) Reset ¶
func (x *UpdateOrganizationNameResponse) Reset()
func (*UpdateOrganizationNameResponse) String ¶
func (x *UpdateOrganizationNameResponse) String() string
type UpdateRepositoryNameByFullNameRequest ¶
type UpdateRepositoryNameByFullNameRequest struct { FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryNameByFullNameRequest) Descriptor
deprecated
func (*UpdateRepositoryNameByFullNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryNameByFullNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryNameByFullNameRequest) GetFullName ¶
func (x *UpdateRepositoryNameByFullNameRequest) GetFullName() string
func (*UpdateRepositoryNameByFullNameRequest) GetNewName ¶
func (x *UpdateRepositoryNameByFullNameRequest) GetNewName() string
func (*UpdateRepositoryNameByFullNameRequest) ProtoMessage ¶
func (*UpdateRepositoryNameByFullNameRequest) ProtoMessage()
func (*UpdateRepositoryNameByFullNameRequest) ProtoReflect ¶
func (x *UpdateRepositoryNameByFullNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryNameByFullNameRequest) Reset ¶
func (x *UpdateRepositoryNameByFullNameRequest) Reset()
func (*UpdateRepositoryNameByFullNameRequest) String ¶
func (x *UpdateRepositoryNameByFullNameRequest) String() string
type UpdateRepositoryNameByFullNameResponse ¶
type UpdateRepositoryNameByFullNameResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryNameByFullNameResponse) Descriptor
deprecated
func (*UpdateRepositoryNameByFullNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryNameByFullNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryNameByFullNameResponse) GetRepository ¶
func (x *UpdateRepositoryNameByFullNameResponse) GetRepository() *Repository
func (*UpdateRepositoryNameByFullNameResponse) ProtoMessage ¶
func (*UpdateRepositoryNameByFullNameResponse) ProtoMessage()
func (*UpdateRepositoryNameByFullNameResponse) ProtoReflect ¶
func (x *UpdateRepositoryNameByFullNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryNameByFullNameResponse) Reset ¶
func (x *UpdateRepositoryNameByFullNameResponse) Reset()
func (*UpdateRepositoryNameByFullNameResponse) String ¶
func (x *UpdateRepositoryNameByFullNameResponse) String() string
type UpdateRepositoryNameRequest ¶
type UpdateRepositoryNameRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryNameRequest) Descriptor
deprecated
func (*UpdateRepositoryNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryNameRequest) GetId ¶
func (x *UpdateRepositoryNameRequest) GetId() string
func (*UpdateRepositoryNameRequest) GetNewName ¶
func (x *UpdateRepositoryNameRequest) GetNewName() string
func (*UpdateRepositoryNameRequest) ProtoMessage ¶
func (*UpdateRepositoryNameRequest) ProtoMessage()
func (*UpdateRepositoryNameRequest) ProtoReflect ¶
func (x *UpdateRepositoryNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryNameRequest) Reset ¶
func (x *UpdateRepositoryNameRequest) Reset()
func (*UpdateRepositoryNameRequest) String ¶
func (x *UpdateRepositoryNameRequest) String() string
type UpdateRepositoryNameResponse ¶
type UpdateRepositoryNameResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryNameResponse) Descriptor
deprecated
func (*UpdateRepositoryNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryNameResponse) GetRepository ¶
func (x *UpdateRepositoryNameResponse) GetRepository() *Repository
func (*UpdateRepositoryNameResponse) ProtoMessage ¶
func (*UpdateRepositoryNameResponse) ProtoMessage()
func (*UpdateRepositoryNameResponse) ProtoReflect ¶
func (x *UpdateRepositoryNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryNameResponse) Reset ¶
func (x *UpdateRepositoryNameResponse) Reset()
func (*UpdateRepositoryNameResponse) String ¶
func (x *UpdateRepositoryNameResponse) String() string
type UpdateRepositoryVisibilityByNameRequest ¶
type UpdateRepositoryVisibilityByNameRequest struct { OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` NewVisibility Visibility `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRepositoryVisibilityByNameRequest) Descriptor
deprecated
func (*UpdateRepositoryVisibilityByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryVisibilityByNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryVisibilityByNameRequest) GetNewVisibility ¶
func (x *UpdateRepositoryVisibilityByNameRequest) GetNewVisibility() Visibility
func (*UpdateRepositoryVisibilityByNameRequest) GetOwnerName ¶
func (x *UpdateRepositoryVisibilityByNameRequest) GetOwnerName() string
func (*UpdateRepositoryVisibilityByNameRequest) GetRepositoryName ¶
func (x *UpdateRepositoryVisibilityByNameRequest) GetRepositoryName() string
func (*UpdateRepositoryVisibilityByNameRequest) ProtoMessage ¶
func (*UpdateRepositoryVisibilityByNameRequest) ProtoMessage()
func (*UpdateRepositoryVisibilityByNameRequest) ProtoReflect ¶
func (x *UpdateRepositoryVisibilityByNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryVisibilityByNameRequest) Reset ¶
func (x *UpdateRepositoryVisibilityByNameRequest) Reset()
func (*UpdateRepositoryVisibilityByNameRequest) String ¶
func (x *UpdateRepositoryVisibilityByNameRequest) String() string
type UpdateRepositoryVisibilityByNameResponse ¶
type UpdateRepositoryVisibilityByNameResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryVisibilityByNameResponse) Descriptor
deprecated
func (*UpdateRepositoryVisibilityByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryVisibilityByNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryVisibilityByNameResponse) GetRepository ¶
func (x *UpdateRepositoryVisibilityByNameResponse) GetRepository() *Repository
func (*UpdateRepositoryVisibilityByNameResponse) ProtoMessage ¶
func (*UpdateRepositoryVisibilityByNameResponse) ProtoMessage()
func (*UpdateRepositoryVisibilityByNameResponse) ProtoReflect ¶
func (x *UpdateRepositoryVisibilityByNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryVisibilityByNameResponse) Reset ¶
func (x *UpdateRepositoryVisibilityByNameResponse) Reset()
func (*UpdateRepositoryVisibilityByNameResponse) String ¶
func (x *UpdateRepositoryVisibilityByNameResponse) String() string
type UpdateRepositoryVisibilityRequest ¶
type UpdateRepositoryVisibilityRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NewVisibility Visibility `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRepositoryVisibilityRequest) Descriptor
deprecated
func (*UpdateRepositoryVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryVisibilityRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryVisibilityRequest) GetId ¶
func (x *UpdateRepositoryVisibilityRequest) GetId() string
func (*UpdateRepositoryVisibilityRequest) GetNewVisibility ¶
func (x *UpdateRepositoryVisibilityRequest) GetNewVisibility() Visibility
func (*UpdateRepositoryVisibilityRequest) ProtoMessage ¶
func (*UpdateRepositoryVisibilityRequest) ProtoMessage()
func (*UpdateRepositoryVisibilityRequest) ProtoReflect ¶
func (x *UpdateRepositoryVisibilityRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryVisibilityRequest) Reset ¶
func (x *UpdateRepositoryVisibilityRequest) Reset()
func (*UpdateRepositoryVisibilityRequest) String ¶
func (x *UpdateRepositoryVisibilityRequest) String() string
type UpdateRepositoryVisibilityResponse ¶
type UpdateRepositoryVisibilityResponse struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryVisibilityResponse) Descriptor
deprecated
func (*UpdateRepositoryVisibilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryVisibilityResponse.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryVisibilityResponse) GetRepository ¶
func (x *UpdateRepositoryVisibilityResponse) GetRepository() *Repository
func (*UpdateRepositoryVisibilityResponse) ProtoMessage ¶
func (*UpdateRepositoryVisibilityResponse) ProtoMessage()
func (*UpdateRepositoryVisibilityResponse) ProtoReflect ¶
func (x *UpdateRepositoryVisibilityResponse) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryVisibilityResponse) Reset ¶
func (x *UpdateRepositoryVisibilityResponse) Reset()
func (*UpdateRepositoryVisibilityResponse) String ¶
func (x *UpdateRepositoryVisibilityResponse) String() string
type UpdateUserUsernameRequest ¶
type UpdateUserUsernameRequest struct { NewUsername string `protobuf:"bytes,1,opt,name=new_username,json=newUsername,proto3" json:"new_username,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserUsernameRequest) Descriptor
deprecated
func (*UpdateUserUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserUsernameRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserUsernameRequest) GetNewUsername ¶
func (x *UpdateUserUsernameRequest) GetNewUsername() string
func (*UpdateUserUsernameRequest) ProtoMessage ¶
func (*UpdateUserUsernameRequest) ProtoMessage()
func (*UpdateUserUsernameRequest) ProtoReflect ¶
func (x *UpdateUserUsernameRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserUsernameRequest) Reset ¶
func (x *UpdateUserUsernameRequest) Reset()
func (*UpdateUserUsernameRequest) String ¶
func (x *UpdateUserUsernameRequest) String() string
type UpdateUserUsernameResponse ¶
type UpdateUserUsernameResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserUsernameResponse) Descriptor
deprecated
func (*UpdateUserUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserUsernameResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserUsernameResponse) GetUser ¶
func (x *UpdateUserUsernameResponse) GetUser() *User
func (*UpdateUserUsernameResponse) ProtoMessage ¶
func (*UpdateUserUsernameResponse) ProtoMessage()
func (*UpdateUserUsernameResponse) ProtoReflect ¶
func (x *UpdateUserUsernameResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserUsernameResponse) Reset ¶
func (x *UpdateUserUsernameResponse) Reset()
func (*UpdateUserUsernameResponse) String ¶
func (x *UpdateUserUsernameResponse) String() string
type User ¶
type User struct { // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // mutable UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // unique, mutable Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserService ¶
type UserService interface { // CreateUser creates a new user with the given username. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // GetUser gets a user by ID. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // GetUserByUsername gets a user by username. GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error) // ListUsers lists all users. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // ListOrganizationUsers lists all users for an organization. ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error) // UpdateUserUsername updates a user's username. UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error) // DeleteUser deletes a user. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID. AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error) // AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name. AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error) // RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID. RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error) // RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name. RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error) // AddUserServerScope adds a server scope for a user by ID. AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error) // AddUserServerScopeByName adds a server scope for a user by name. AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error) // RemoveUserServerScope removes a server scope for a user by ID. RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error) // RemoveUserServerScopeByName removes a server scope for a user by name. RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error) }
UserService is the User service.
func NewUserServiceJSONClient ¶
func NewUserServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService
NewUserServiceJSONClient creates a JSON client that implements the UserService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewUserServiceProtobufClient ¶
func NewUserServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService
NewUserServiceProtobufClient creates a Protobuf client that implements the UserService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type UserServiceClient ¶
type UserServiceClient interface { // CreateUser creates a new user with the given username. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) // GetUser gets a user by ID. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // GetUserByUsername gets a user by username. GetUserByUsername(ctx context.Context, in *GetUserByUsernameRequest, opts ...grpc.CallOption) (*GetUserByUsernameResponse, error) // ListUsers lists all users. ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) // ListOrganizationUsers lists all users for an organization. ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error) // UpdateUserUsername updates a user's username. UpdateUserUsername(ctx context.Context, in *UpdateUserUsernameRequest, opts ...grpc.CallOption) (*UpdateUserUsernameResponse, error) // DeleteUser deletes a user. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) // AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID. AddUserOrganizationScope(ctx context.Context, in *AddUserOrganizationScopeRequest, opts ...grpc.CallOption) (*AddUserOrganizationScopeResponse, error) // AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name. AddUserOrganizationScopeByName(ctx context.Context, in *AddUserOrganizationScopeByNameRequest, opts ...grpc.CallOption) (*AddUserOrganizationScopeByNameResponse, error) // RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID. RemoveUserOrganizationScope(ctx context.Context, in *RemoveUserOrganizationScopeRequest, opts ...grpc.CallOption) (*RemoveUserOrganizationScopeResponse, error) // RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name. RemoveUserOrganizationScopeByName(ctx context.Context, in *RemoveUserOrganizationScopeByNameRequest, opts ...grpc.CallOption) (*RemoveUserOrganizationScopeByNameResponse, error) // AddUserServerScope adds a server scope for a user by ID. AddUserServerScope(ctx context.Context, in *AddUserServerScopeRequest, opts ...grpc.CallOption) (*AddUserServerScopeResponse, error) // AddUserServerScopeByName adds a server scope for a user by name. AddUserServerScopeByName(ctx context.Context, in *AddUserServerScopeByNameRequest, opts ...grpc.CallOption) (*AddUserServerScopeByNameResponse, error) // RemoveUserServerScope removes a server scope for a user by ID. RemoveUserServerScope(ctx context.Context, in *RemoveUserServerScopeRequest, opts ...grpc.CallOption) (*RemoveUserServerScopeResponse, error) // RemoveUserServerScopeByName removes a server scope for a user by name. RemoveUserServerScopeByName(ctx context.Context, in *RemoveUserServerScopeByNameRequest, opts ...grpc.CallOption) (*RemoveUserServerScopeByNameResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // CreateUser creates a new user with the given username. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // GetUser gets a user by ID. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // GetUserByUsername gets a user by username. GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error) // ListUsers lists all users. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // ListOrganizationUsers lists all users for an organization. ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error) // UpdateUserUsername updates a user's username. UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error) // DeleteUser deletes a user. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID. AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error) // AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name. AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error) // RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID. RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error) // RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name. RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error) // AddUserServerScope adds a server scope for a user by ID. AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error) // AddUserServerScopeByName adds a server scope for a user by name. AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error) // RemoveUserServerScope removes a server scope for a user by ID. RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error) // RemoveUserServerScopeByName removes a server scope for a user by name. RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error) }
UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility
type Visibility ¶
type Visibility int32
const ( Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 Visibility_VISIBILITY_PUBLIC Visibility = 1 Visibility_VISIBILITY_PRIVATE Visibility = 2 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
func (Visibility) Type() protoreflect.EnumType
Source Files ¶
- download.pb.go
- download.twirp.go
- download_grpc.pb.go
- module.pb.go
- organization.pb.go
- organization.twirp.go
- organization_grpc.pb.go
- push.pb.go
- push.twirp.go
- push_grpc.pb.go
- repository.pb.go
- repository.twirp.go
- repository_branch.pb.go
- repository_branch.twirp.go
- repository_branch_grpc.pb.go
- repository_commit.pb.go
- repository_commit.twirp.go
- repository_commit_grpc.pb.go
- repository_grpc.pb.go
- repository_tag.pb.go
- repository_tag.twirp.go
- repository_tag_grpc.pb.go
- resolve.pb.go
- resolve.twirp.go
- resolve_grpc.pb.go
- scope.pb.go
- user.pb.go
- user.twirp.go
- user_grpc.pb.go