Documentation
¶
Index ¶
- func Connect(accessToken *oauth2.Token) (client pb.JamsyncAPIClient, closer func(), err error)
- func New() (closer func(), err error)
- type JamsyncServer
- func (s JamsyncServer) AddProject(ctx context.Context, in *pb.AddProjectRequest) (*pb.AddProjectResponse, error)
- func (s JamsyncServer) CreateBranch(ctx context.Context, in *pb.CreateBranchRequest) (*pb.CreateBranchResponse, error)
- func (s JamsyncServer) CreateUser(ctx context.Context, in *pb.CreateUserRequest) (*pb.CreateUserResponse, error)
- func (s JamsyncServer) DeleteBranch(ctx context.Context, in *pb.DeleteBranchRequest) (*pb.DeleteBranchResponse, error)
- func (s JamsyncServer) DeleteProject(ctx context.Context, in *pb.DeleteProjectRequest) (*pb.DeleteProjectResponse, error)
- func (s JamsyncServer) GetBranch(ctx context.Context, in *pb.GetBranchRequest) (*pb.GetBranchResponse, error)
- func (s JamsyncServer) GetProjectConfig(ctx context.Context, in *pb.GetProjectConfigRequest) (*pb.ProjectConfig, error)
- func (s JamsyncServer) ListBranches(ctx context.Context, in *pb.ListBranchesRequest) (*pb.ListBranchesResponse, error)
- func (s JamsyncServer) ListUserProjects(ctx context.Context, in *pb.ListUserProjectsRequest) (*pb.ListUserProjectsResponse, error)
- func (s JamsyncServer) MergeBranch(ctx context.Context, in *pb.MergeBranchRequest) (*pb.MergeBranchResponse, error)
- func (s JamsyncServer) Ping(ctx context.Context, in *pb.PingRequest) (*pb.PingResponse, error)
- func (s JamsyncServer) ReadBranchChunkHashes(ctx context.Context, in *pb.ReadBranchChunkHashesRequest) (*pb.ReadBranchChunkHashesResponse, error)
- func (s JamsyncServer) ReadBranchFile(in *pb.ReadBranchFileRequest, srv pb.JamsyncAPI_ReadBranchFileServer) error
- func (s JamsyncServer) ReadCommitChunkHashes(ctx context.Context, in *pb.ReadCommitChunkHashesRequest) (*pb.ReadCommitChunkHashesResponse, error)
- func (s JamsyncServer) ReadCommittedFile(in *pb.ReadCommittedFileRequest, srv pb.JamsyncAPI_ReadCommittedFileServer) error
- func (s JamsyncServer) WriteBranchOperationsStream(srv pb.JamsyncAPI_WriteBranchOperationsStreamServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JamsyncServer ¶
type JamsyncServer struct {
pb.UnimplementedJamsyncAPIServer
// contains filtered or unexported fields
}
func (JamsyncServer) AddProject ¶
func (s JamsyncServer) AddProject(ctx context.Context, in *pb.AddProjectRequest) (*pb.AddProjectResponse, error)
func (JamsyncServer) CreateBranch ¶
func (s JamsyncServer) CreateBranch(ctx context.Context, in *pb.CreateBranchRequest) (*pb.CreateBranchResponse, error)
func (JamsyncServer) CreateUser ¶
func (s JamsyncServer) CreateUser(ctx context.Context, in *pb.CreateUserRequest) (*pb.CreateUserResponse, error)
func (JamsyncServer) DeleteBranch ¶
func (s JamsyncServer) DeleteBranch(ctx context.Context, in *pb.DeleteBranchRequest) (*pb.DeleteBranchResponse, error)
func (JamsyncServer) DeleteProject ¶
func (s JamsyncServer) DeleteProject(ctx context.Context, in *pb.DeleteProjectRequest) (*pb.DeleteProjectResponse, error)
func (JamsyncServer) GetBranch ¶
func (s JamsyncServer) GetBranch(ctx context.Context, in *pb.GetBranchRequest) (*pb.GetBranchResponse, error)
func (JamsyncServer) GetProjectConfig ¶
func (s JamsyncServer) GetProjectConfig(ctx context.Context, in *pb.GetProjectConfigRequest) (*pb.ProjectConfig, error)
func (JamsyncServer) ListBranches ¶
func (s JamsyncServer) ListBranches(ctx context.Context, in *pb.ListBranchesRequest) (*pb.ListBranchesResponse, error)
func (JamsyncServer) ListUserProjects ¶
func (s JamsyncServer) ListUserProjects(ctx context.Context, in *pb.ListUserProjectsRequest) (*pb.ListUserProjectsResponse, error)
func (JamsyncServer) MergeBranch ¶
func (s JamsyncServer) MergeBranch(ctx context.Context, in *pb.MergeBranchRequest) (*pb.MergeBranchResponse, error)
func (JamsyncServer) Ping ¶
func (s JamsyncServer) Ping(ctx context.Context, in *pb.PingRequest) (*pb.PingResponse, error)
func (JamsyncServer) ReadBranchChunkHashes ¶
func (s JamsyncServer) ReadBranchChunkHashes(ctx context.Context, in *pb.ReadBranchChunkHashesRequest) (*pb.ReadBranchChunkHashesResponse, error)
func (JamsyncServer) ReadBranchFile ¶
func (s JamsyncServer) ReadBranchFile(in *pb.ReadBranchFileRequest, srv pb.JamsyncAPI_ReadBranchFileServer) error
func (JamsyncServer) ReadCommitChunkHashes ¶
func (s JamsyncServer) ReadCommitChunkHashes(ctx context.Context, in *pb.ReadCommitChunkHashesRequest) (*pb.ReadCommitChunkHashesResponse, error)
func (JamsyncServer) ReadCommittedFile ¶
func (s JamsyncServer) ReadCommittedFile(in *pb.ReadCommittedFileRequest, srv pb.JamsyncAPI_ReadCommittedFileServer) error
func (JamsyncServer) WriteBranchOperationsStream ¶
func (s JamsyncServer) WriteBranchOperationsStream(srv pb.JamsyncAPI_WriteBranchOperationsStreamServer) error
Click to show internal directories.
Click to hide internal directories.