Documentation
¶
Index ¶
- type Server
- func (s *Server) CreateRepository(ctx context.Context, r *proto.CreateRepositoryRequest) (*proto.RepositoryResponse, error)
- func (s *Server) DeleteRepository(ctx context.Context, r *proto.DeleteRepositoryRequest) (*emptypb.Empty, error)
- func (s *Server) Repositories(r *proto.RepositoriesRequest, stream proto.Repository_RepositoriesServer) error
- func (s *Server) Repository(ctx context.Context, r *proto.RepositoryRequest) (*proto.RepositoryResponse, error)
- func (s *Server) RepositoryCredentials(r *proto.CredentialsRequest, ...) error
- func (s *Server) Serve(addr string) error
- func (s *Server) UpdateRepository(ctx context.Context, r *proto.UpdateRepositoryRequest) (*proto.RepositoryResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { proto.UnimplementedRepositoryServer // contains filtered or unexported fields }
func (*Server) CreateRepository ¶
func (s *Server) CreateRepository(ctx context.Context, r *proto.CreateRepositoryRequest) (*proto.RepositoryResponse, error)
func (*Server) DeleteRepository ¶
func (*Server) Repositories ¶
func (s *Server) Repositories(r *proto.RepositoriesRequest, stream proto.Repository_RepositoriesServer) error
func (*Server) Repository ¶
func (s *Server) Repository(ctx context.Context, r *proto.RepositoryRequest) (*proto.RepositoryResponse, error)
func (*Server) RepositoryCredentials ¶
func (s *Server) RepositoryCredentials(r *proto.CredentialsRequest, stream proto.Repository_RepositoryCredentialsServer) error
func (*Server) UpdateRepository ¶
func (s *Server) UpdateRepository(ctx context.Context, r *proto.UpdateRepositoryRequest) (*proto.RepositoryResponse, error)
Click to show internal directories.
Click to hide internal directories.