Documentation ¶
Index ¶
- Variables
- type Config
- type Server
- func (s *Server) Build(ctx context.Context, req *connect.Request[projectsv1.BuildRequest]) (*connect.Response[projectsv1.BuildResponse], error)
- func (s *Server) Create(ctx context.Context, req *connect.Request[projectsv1.CreateRequest]) (*connect.Response[projectsv1.CreateResponse], error)
- func (s *Server) Delete(ctx context.Context, req *connect.Request[projectsv1.DeleteRequest]) (*connect.Response[projectsv1.DeleteResponse], error)
- func (s *Server) DownloadResources(ctx context.Context, req *connect.Request[projectsv1.DownloadResourcesRequest]) (*connect.Response[projectsv1.DownloadResourcesResponse], error)
- func (s *Server) Get(ctx context.Context, req *connect.Request[projectsv1.GetRequest]) (*connect.Response[projectsv1.GetResponse], error)
- func (s *Server) Init(mux *http.ServeMux)
- func (s *Server) List(ctx context.Context, req *connect.Request[projectsv1.ListRequest]) (*connect.Response[projectsv1.ListResponse], error)
- func (s *Server) ListForOwner(ctx context.Context, req *connect.Request[projectsv1.ListForOwnerRequest]) (*connect.Response[projectsv1.ListForOwnerResponse], error)
- func (s *Server) SetResources(ctx context.Context, req *connect.Request[projectsv1.SetResourcesRequest]) (*connect.Response[projectsv1.SetResourcesResponse], error)
- func (s *Server) Update(ctx context.Context, req *connect.Request[projectsv1.UpdateRequest]) (*connect.Response[projectsv1.UpdateResponse], error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Configs = configset.Set[Config]{ Default: &Config{ MaxUploadSize: 1 * 1024 * 1024, }, }
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { projectsv1connect.UnimplementedProjectsServiceHandler // contains filtered or unexported fields }
func (*Server) Build ¶
func (s *Server) Build(ctx context.Context, req *connect.Request[projectsv1.BuildRequest]) (*connect.Response[projectsv1.BuildResponse], error)
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, req *connect.Request[projectsv1.CreateRequest]) (*connect.Response[projectsv1.CreateResponse], error)
func (*Server) Delete ¶ added in v0.3.1
func (s *Server) Delete(ctx context.Context, req *connect.Request[projectsv1.DeleteRequest]) (*connect.Response[projectsv1.DeleteResponse], error)
func (*Server) DownloadResources ¶
func (s *Server) DownloadResources(ctx context.Context, req *connect.Request[projectsv1.DownloadResourcesRequest]) (*connect.Response[projectsv1.DownloadResourcesResponse], error)
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, req *connect.Request[projectsv1.GetRequest]) (*connect.Response[projectsv1.GetResponse], error)
func (*Server) List ¶
func (s *Server) List(ctx context.Context, req *connect.Request[projectsv1.ListRequest]) (*connect.Response[projectsv1.ListResponse], error)
func (*Server) ListForOwner ¶
func (s *Server) ListForOwner(ctx context.Context, req *connect.Request[projectsv1.ListForOwnerRequest]) (*connect.Response[projectsv1.ListForOwnerResponse], error)
func (*Server) SetResources ¶
func (s *Server) SetResources(ctx context.Context, req *connect.Request[projectsv1.SetResourcesRequest]) (*connect.Response[projectsv1.SetResourcesResponse], error)
func (*Server) Update ¶
func (s *Server) Update(ctx context.Context, req *connect.Request[projectsv1.UpdateRequest]) (*connect.Response[projectsv1.UpdateResponse], error)
Click to show internal directories.
Click to hide internal directories.