Documentation ¶
Index ¶
- Constants
- func NewAdminServiceHandler(svc AdminServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewAuthnServiceHandler(svc AuthnServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewAuthzServiceHandler(svc AuthzServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewCodeGenerationServiceHandler(svc CodeGenerationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewConvertServiceHandler(svc ConvertServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewDisplayServiceHandler(svc DisplayServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewDocServiceHandler(svc DocServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewDownloadServiceHandler(svc DownloadServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewGenerateServiceHandler(svc GenerateServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewGithubServiceHandler(svc GithubServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewJSONSchemaServiceHandler(svc JSONSchemaServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewLocalResolveServiceHandler(svc LocalResolveServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewOrganizationServiceHandler(svc OrganizationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewOwnerServiceHandler(svc OwnerServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewPluginCurationServiceHandler(svc PluginCurationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewPluginServiceHandler(svc PluginServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewPushServiceHandler(svc PushServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewRecommendationServiceHandler(svc RecommendationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewReferenceServiceHandler(svc ReferenceServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewRepositoryCommitServiceHandler(svc RepositoryCommitServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewRepositoryServiceHandler(svc RepositoryServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewRepositoryTagServiceHandler(svc RepositoryTagServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewResolveServiceHandler(svc ResolveServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewResourceServiceHandler(svc ResourceServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewSchemaServiceHandler(svc SchemaServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewSearchServiceHandler(svc SearchServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewStudioRequestServiceHandler(svc StudioRequestServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewStudioServiceHandler(svc StudioServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewUserServiceHandler(svc UserServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewWebhookServiceHandler(svc WebhookServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type AdminServiceClient
- type AdminServiceHandler
- type AuthnServiceClient
- type AuthnServiceHandler
- type AuthzServiceClient
- type AuthzServiceHandler
- type CodeGenerationServiceClient
- type CodeGenerationServiceHandler
- type ConvertServiceClient
- type ConvertServiceHandler
- type DisplayServiceClient
- type DisplayServiceHandler
- type DocServiceClient
- type DocServiceHandler
- type DownloadServiceClient
- type DownloadServiceHandler
- type GenerateServiceClient
- type GenerateServiceHandler
- type GithubServiceClient
- type GithubServiceHandler
- type ImageServiceClient
- type ImageServiceHandler
- type JSONSchemaServiceClient
- type JSONSchemaServiceHandler
- type LocalResolveServiceClient
- type LocalResolveServiceHandler
- type OrganizationServiceClient
- type OrganizationServiceHandler
- type OwnerServiceClient
- type OwnerServiceHandler
- type PluginCurationServiceClient
- type PluginCurationServiceHandler
- type PluginServiceClient
- type PluginServiceHandler
- type PushServiceClient
- type PushServiceHandler
- type RecommendationServiceClient
- type RecommendationServiceHandler
- type ReferenceServiceClient
- type ReferenceServiceHandler
- type RepositoryCommitServiceClient
- type RepositoryCommitServiceHandler
- type RepositoryServiceClient
- type RepositoryServiceHandler
- type RepositoryTagServiceClient
- type RepositoryTagServiceHandler
- type ResolveServiceClient
- type ResolveServiceHandler
- type ResourceServiceClient
- type ResourceServiceHandler
- type SchemaServiceClient
- type SchemaServiceHandler
- type SearchServiceClient
- type SearchServiceHandler
- type StudioRequestServiceClient
- type StudioRequestServiceHandler
- type StudioServiceClient
- type StudioServiceHandler
- type TokenServiceClient
- type TokenServiceHandler
- type UnimplementedAdminServiceHandler
- func (UnimplementedAdminServiceHandler) CreateMachineUser(context.Context, *connect_go.Request[v1alpha1.CreateMachineUserRequest]) (*connect_go.Response[v1alpha1.CreateMachineUserResponse], error)
- func (UnimplementedAdminServiceHandler) ForceDeleteUser(context.Context, *connect_go.Request[v1alpha1.ForceDeleteUserRequest]) (*connect_go.Response[v1alpha1.ForceDeleteUserResponse], error)
- func (UnimplementedAdminServiceHandler) UpdateOrganizationVerificationStatus(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateOrganizationVerificationStatusResponse], ...)
- func (UnimplementedAdminServiceHandler) UpdateUserVerificationStatus(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateUserVerificationStatusResponse], error)
- type UnimplementedAuthnServiceHandler
- func (UnimplementedAuthnServiceHandler) GetCurrentUser(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserResponse], error)
- func (UnimplementedAuthnServiceHandler) GetCurrentUserSubject(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserSubjectRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserSubjectResponse], error)
- type UnimplementedAuthzServiceHandler
- func (UnimplementedAuthzServiceHandler) UserCanAddOrganizationMember(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanAddOrganizationMemberResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationPlugin(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationPluginResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationRepository(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationRepositoryResponse], ...)
- func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationTemplate(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationTemplateResponse], ...)
- func (UnimplementedAuthzServiceHandler) UserCanCreatePluginVersion(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanCreatePluginVersionResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanCreateTemplateVersion(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanCreateTemplateVersionResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanDeleteOrganization(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanDeleteOrganizationResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanDeletePlugin(context.Context, *connect_go.Request[v1alpha1.UserCanDeletePluginRequest]) (*connect_go.Response[v1alpha1.UserCanDeletePluginResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanDeleteRepository(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteRepositoryResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanDeleteTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteTemplateResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanDeleteUser(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteUserRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteUserResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanManagePluginContributors(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanManagePluginContributorsResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanManageRepositoryContributors(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanManageRepositoryContributorsResponse], ...)
- func (UnimplementedAuthzServiceHandler) UserCanManageTemplateContributors(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanManageTemplateContributorsResponse], ...)
- func (UnimplementedAuthzServiceHandler) UserCanReadPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanReadPluginRequest]) (*connect_go.Response[v1alpha1.UserCanReadPluginResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanRemoveOrganizationMember(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanRemoveOrganizationMemberResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanSeeOrganizationSettings(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanSeeOrganizationSettingsResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanSeePluginSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeePluginSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeePluginSettingsResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanSeeRepositorySettings(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanSeeRepositorySettingsResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanSeeServerAdminPanel(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanSeeServerAdminPanelResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanSeeTemplateSettings(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanSeeTemplateSettingsResponse], error)
- func (UnimplementedAuthzServiceHandler) UserCanUpdateOrganizationMember(context.Context, ...) (*connect_go.Response[v1alpha1.UserCanUpdateOrganizationMemberResponse], error)
- type UnimplementedCodeGenerationServiceHandler
- type UnimplementedConvertServiceHandler
- type UnimplementedDisplayServiceHandler
- func (UnimplementedDisplayServiceHandler) DisplayOrganizationElements(context.Context, ...) (*connect_go.Response[v1alpha1.DisplayOrganizationElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) DisplayPluginElements(context.Context, *connect_go.Request[v1alpha1.DisplayPluginElementsRequest]) (*connect_go.Response[v1alpha1.DisplayPluginElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) DisplayRepositoryElements(context.Context, ...) (*connect_go.Response[v1alpha1.DisplayRepositoryElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) DisplayServerElements(context.Context, *connect_go.Request[v1alpha1.DisplayServerElementsRequest]) (*connect_go.Response[v1alpha1.DisplayServerElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) DisplayTemplateElements(context.Context, *connect_go.Request[v1alpha1.DisplayTemplateElementsRequest]) (*connect_go.Response[v1alpha1.DisplayTemplateElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) DisplayUserElements(context.Context, *connect_go.Request[v1alpha1.DisplayUserElementsRequest]) (*connect_go.Response[v1alpha1.DisplayUserElementsResponse], error)
- func (UnimplementedDisplayServiceHandler) ListManageablePluginRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageablePluginRolesResponse], error)
- func (UnimplementedDisplayServiceHandler) ListManageableRepositoryRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageableRepositoryRolesResponse], error)
- func (UnimplementedDisplayServiceHandler) ListManageableTemplateRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageableTemplateRolesResponse], error)
- func (UnimplementedDisplayServiceHandler) ListManageableUserPluginRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageableUserPluginRolesResponse], error)
- func (UnimplementedDisplayServiceHandler) ListManageableUserRepositoryRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageableUserRepositoryRolesResponse], ...)
- func (UnimplementedDisplayServiceHandler) ListManageableUserTemplateRoles(context.Context, ...) (*connect_go.Response[v1alpha1.ListManageableUserTemplateRolesResponse], error)
- type UnimplementedDocServiceHandler
- func (UnimplementedDocServiceHandler) GetModuleDocumentation(context.Context, *connect_go.Request[v1alpha1.GetModuleDocumentationRequest]) (*connect_go.Response[v1alpha1.GetModuleDocumentationResponse], error)
- func (UnimplementedDocServiceHandler) GetModulePackages(context.Context, *connect_go.Request[v1alpha1.GetModulePackagesRequest]) (*connect_go.Response[v1alpha1.GetModulePackagesResponse], error)
- func (UnimplementedDocServiceHandler) GetPackageDocumentation(context.Context, *connect_go.Request[v1alpha1.GetPackageDocumentationRequest]) (*connect_go.Response[v1alpha1.GetPackageDocumentationResponse], error)
- func (UnimplementedDocServiceHandler) GetSourceDirectoryInfo(context.Context, *connect_go.Request[v1alpha1.GetSourceDirectoryInfoRequest]) (*connect_go.Response[v1alpha1.GetSourceDirectoryInfoResponse], error)
- func (UnimplementedDocServiceHandler) GetSourceFile(context.Context, *connect_go.Request[v1alpha1.GetSourceFileRequest]) (*connect_go.Response[v1alpha1.GetSourceFileResponse], error)
- type UnimplementedDownloadServiceHandler
- func (UnimplementedDownloadServiceHandler) Download(context.Context, *connect_go.Request[v1alpha1.DownloadRequest]) (*connect_go.Response[v1alpha1.DownloadResponse], error)
- func (UnimplementedDownloadServiceHandler) DownloadManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.DownloadManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.DownloadManifestAndBlobsResponse], error)
- type UnimplementedGenerateServiceHandler
- func (UnimplementedGenerateServiceHandler) GeneratePlugins(context.Context, *connect_go.Request[v1alpha1.GeneratePluginsRequest]) (*connect_go.Response[v1alpha1.GeneratePluginsResponse], error)
- func (UnimplementedGenerateServiceHandler) GenerateTemplate(context.Context, *connect_go.Request[v1alpha1.GenerateTemplateRequest]) (*connect_go.Response[v1alpha1.GenerateTemplateResponse], error)
- type UnimplementedGithubServiceHandler
- type UnimplementedImageServiceHandler
- type UnimplementedJSONSchemaServiceHandler
- type UnimplementedLocalResolveServiceHandler
- type UnimplementedOrganizationServiceHandler
- func (UnimplementedOrganizationServiceHandler) AddOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.AddOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.AddOrganizationGroupResponse], error)
- func (UnimplementedOrganizationServiceHandler) AddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.AddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.AddOrganizationMemberResponse], error)
- func (UnimplementedOrganizationServiceHandler) CreateOrganization(context.Context, *connect_go.Request[v1alpha1.CreateOrganizationRequest]) (*connect_go.Response[v1alpha1.CreateOrganizationResponse], error)
- func (UnimplementedOrganizationServiceHandler) DeleteOrganization(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationResponse], error)
- func (UnimplementedOrganizationServiceHandler) DeleteOrganizationByName(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationByNameResponse], error)
- func (UnimplementedOrganizationServiceHandler) GetOrganization(context.Context, *connect_go.Request[v1alpha1.GetOrganizationRequest]) (*connect_go.Response[v1alpha1.GetOrganizationResponse], error)
- func (UnimplementedOrganizationServiceHandler) GetOrganizationByName(context.Context, *connect_go.Request[v1alpha1.GetOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.GetOrganizationByNameResponse], error)
- func (UnimplementedOrganizationServiceHandler) GetOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.GetOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.GetOrganizationSettingsResponse], error)
- func (UnimplementedOrganizationServiceHandler) ListOrganizations(context.Context, *connect_go.Request[v1alpha1.ListOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationsResponse], error)
- func (UnimplementedOrganizationServiceHandler) ListUserOrganizations(context.Context, *connect_go.Request[v1alpha1.ListUserOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListUserOrganizationsResponse], error)
- func (UnimplementedOrganizationServiceHandler) RemoveOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationGroupResponse], error)
- func (UnimplementedOrganizationServiceHandler) RemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationMemberResponse], error)
- func (UnimplementedOrganizationServiceHandler) SetOrganizationMember(context.Context, *connect_go.Request[v1alpha1.SetOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.SetOrganizationMemberResponse], error)
- func (UnimplementedOrganizationServiceHandler) UpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationMemberResponse], error)
- func (UnimplementedOrganizationServiceHandler) UpdateOrganizationSettings(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateOrganizationSettingsResponse], error)
- type UnimplementedOwnerServiceHandler
- type UnimplementedPluginCurationServiceHandler
- func (UnimplementedPluginCurationServiceHandler) CreateCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.CreateCuratedPluginRequest]) (*connect_go.Response[v1alpha1.CreateCuratedPluginResponse], error)
- func (UnimplementedPluginCurationServiceHandler) DeleteCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.DeleteCuratedPluginRequest]) (*connect_go.Response[v1alpha1.DeleteCuratedPluginResponse], error)
- func (UnimplementedPluginCurationServiceHandler) GetLatestCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.GetLatestCuratedPluginRequest]) (*connect_go.Response[v1alpha1.GetLatestCuratedPluginResponse], error)
- func (UnimplementedPluginCurationServiceHandler) ListCuratedPlugins(context.Context, *connect_go.Request[v1alpha1.ListCuratedPluginsRequest]) (*connect_go.Response[v1alpha1.ListCuratedPluginsResponse], error)
- type UnimplementedPluginServiceHandler
- func (UnimplementedPluginServiceHandler) CreatePlugin(context.Context, *connect_go.Request[v1alpha1.CreatePluginRequest]) (*connect_go.Response[v1alpha1.CreatePluginResponse], error)
- func (UnimplementedPluginServiceHandler) CreateTemplate(context.Context, *connect_go.Request[v1alpha1.CreateTemplateRequest]) (*connect_go.Response[v1alpha1.CreateTemplateResponse], error)
- func (UnimplementedPluginServiceHandler) CreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.CreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.CreateTemplateVersionResponse], error)
- func (UnimplementedPluginServiceHandler) DeletePlugin(context.Context, *connect_go.Request[v1alpha1.DeletePluginRequest]) (*connect_go.Response[v1alpha1.DeletePluginResponse], error)
- func (UnimplementedPluginServiceHandler) DeleteTemplate(context.Context, *connect_go.Request[v1alpha1.DeleteTemplateRequest]) (*connect_go.Response[v1alpha1.DeleteTemplateResponse], error)
- func (UnimplementedPluginServiceHandler) DeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.DeprecatePluginRequest]) (*connect_go.Response[v1alpha1.DeprecatePluginResponse], error)
- func (UnimplementedPluginServiceHandler) DeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.DeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.DeprecateTemplateResponse], error)
- func (UnimplementedPluginServiceHandler) GetPlugin(context.Context, *connect_go.Request[v1alpha1.GetPluginRequest]) (*connect_go.Response[v1alpha1.GetPluginResponse], error)
- func (UnimplementedPluginServiceHandler) GetPluginVersion(context.Context, *connect_go.Request[v1alpha1.GetPluginVersionRequest]) (*connect_go.Response[v1alpha1.GetPluginVersionResponse], error)
- func (UnimplementedPluginServiceHandler) GetTemplate(context.Context, *connect_go.Request[v1alpha1.GetTemplateRequest]) (*connect_go.Response[v1alpha1.GetTemplateResponse], error)
- func (UnimplementedPluginServiceHandler) GetTemplateVersion(context.Context, *connect_go.Request[v1alpha1.GetTemplateVersionRequest]) (*connect_go.Response[v1alpha1.GetTemplateVersionResponse], error)
- func (UnimplementedPluginServiceHandler) ListOrganizationPlugins(context.Context, *connect_go.Request[v1alpha1.ListOrganizationPluginsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationPluginsResponse], error)
- func (UnimplementedPluginServiceHandler) ListOrganizationTemplates(context.Context, ...) (*connect_go.Response[v1alpha1.ListOrganizationTemplatesResponse], error)
- func (UnimplementedPluginServiceHandler) ListPluginContributors(context.Context, *connect_go.Request[v1alpha1.ListPluginContributorsRequest]) (*connect_go.Response[v1alpha1.ListPluginContributorsResponse], error)
- func (UnimplementedPluginServiceHandler) ListPluginVersions(context.Context, *connect_go.Request[v1alpha1.ListPluginVersionsRequest]) (*connect_go.Response[v1alpha1.ListPluginVersionsResponse], error)
- func (UnimplementedPluginServiceHandler) ListPlugins(context.Context, *connect_go.Request[v1alpha1.ListPluginsRequest]) (*connect_go.Response[v1alpha1.ListPluginsResponse], error)
- func (UnimplementedPluginServiceHandler) ListTemplateContributors(context.Context, *connect_go.Request[v1alpha1.ListTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.ListTemplateContributorsResponse], error)
- func (UnimplementedPluginServiceHandler) ListTemplateVersions(context.Context, *connect_go.Request[v1alpha1.ListTemplateVersionsRequest]) (*connect_go.Response[v1alpha1.ListTemplateVersionsResponse], error)
- func (UnimplementedPluginServiceHandler) ListTemplates(context.Context, *connect_go.Request[v1alpha1.ListTemplatesRequest]) (*connect_go.Response[v1alpha1.ListTemplatesResponse], error)
- func (UnimplementedPluginServiceHandler) ListTemplatesUserCanAccess(context.Context, ...) (*connect_go.Response[v1alpha1.ListTemplatesUserCanAccessResponse], error)
- func (UnimplementedPluginServiceHandler) ListUserPlugins(context.Context, *connect_go.Request[v1alpha1.ListUserPluginsRequest]) (*connect_go.Response[v1alpha1.ListUserPluginsResponse], error)
- func (UnimplementedPluginServiceHandler) ListUserTemplates(context.Context, *connect_go.Request[v1alpha1.ListUserTemplatesRequest]) (*connect_go.Response[v1alpha1.ListUserTemplatesResponse], error)
- func (UnimplementedPluginServiceHandler) SetPluginContributor(context.Context, *connect_go.Request[v1alpha1.SetPluginContributorRequest]) (*connect_go.Response[v1alpha1.SetPluginContributorResponse], error)
- func (UnimplementedPluginServiceHandler) SetTemplateContributor(context.Context, *connect_go.Request[v1alpha1.SetTemplateContributorRequest]) (*connect_go.Response[v1alpha1.SetTemplateContributorResponse], error)
- func (UnimplementedPluginServiceHandler) UndeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.UndeprecatePluginRequest]) (*connect_go.Response[v1alpha1.UndeprecatePluginResponse], error)
- func (UnimplementedPluginServiceHandler) UndeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.UndeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.UndeprecateTemplateResponse], error)
- type UnimplementedPushServiceHandler
- func (UnimplementedPushServiceHandler) Push(context.Context, *connect_go.Request[v1alpha1.PushRequest]) (*connect_go.Response[v1alpha1.PushResponse], error)
- func (UnimplementedPushServiceHandler) PushManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.PushManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.PushManifestAndBlobsResponse], error)
- type UnimplementedRecommendationServiceHandler
- func (UnimplementedRecommendationServiceHandler) ListRecommendedResources(context.Context, *connect_go.Request[v1alpha1.ListRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.ListRecommendedResourcesResponse], error)
- func (UnimplementedRecommendationServiceHandler) RecommendedRepositories(context.Context, *connect_go.Request[v1alpha1.RecommendedRepositoriesRequest]) (*connect_go.Response[v1alpha1.RecommendedRepositoriesResponse], error)
- func (UnimplementedRecommendationServiceHandler) RecommendedTemplates(context.Context, *connect_go.Request[v1alpha1.RecommendedTemplatesRequest]) (*connect_go.Response[v1alpha1.RecommendedTemplatesResponse], error)
- func (UnimplementedRecommendationServiceHandler) SetRecommendedResources(context.Context, *connect_go.Request[v1alpha1.SetRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.SetRecommendedResourcesResponse], error)
- type UnimplementedReferenceServiceHandler
- type UnimplementedRepositoryCommitServiceHandler
- func (UnimplementedRepositoryCommitServiceHandler) DeleteRepositoryDraftCommit(context.Context, ...) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error)
- func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitByReference(context.Context, ...) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error)
- func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitBySequenceId(context.Context, ...) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error)
- func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByBranch(context.Context, ...) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error)
- func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByReference(context.Context, ...) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error)
- func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryDraftCommits(context.Context, ...) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error)
- type UnimplementedRepositoryServiceHandler
- func (UnimplementedRepositoryServiceHandler) CreateRepositoryByFullName(context.Context, ...) (*connect_go.Response[v1alpha1.CreateRepositoryByFullNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) DeleteRepository(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryResponse], error)
- func (UnimplementedRepositoryServiceHandler) DeleteRepositoryByFullName(context.Context, ...) (*connect_go.Response[v1alpha1.DeleteRepositoryByFullNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) DeprecateRepositoryByName(context.Context, ...) (*connect_go.Response[v1alpha1.DeprecateRepositoryByNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepositoriesByFullName(context.Context, ...) (*connect_go.Response[v1alpha1.GetRepositoriesByFullNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepositoriesMetadata(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesMetadataRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesMetadataResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepository(context.Context, *connect_go.Request[v1alpha1.GetRepositoryRequest]) (*connect_go.Response[v1alpha1.GetRepositoryResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoryByFullNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.GetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.GetRepositoryContributorResponse], error)
- func (UnimplementedRepositoryServiceHandler) GetRepositorySettings(context.Context, *connect_go.Request[v1alpha1.GetRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.GetRepositorySettingsResponse], error)
- func (UnimplementedRepositoryServiceHandler) ListOrganizationRepositories(context.Context, ...) (*connect_go.Response[v1alpha1.ListOrganizationRepositoriesResponse], error)
- func (UnimplementedRepositoryServiceHandler) ListRepositories(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesResponse], error)
- func (UnimplementedRepositoryServiceHandler) ListRepositoriesUserCanAccess(context.Context, ...) (*connect_go.Response[v1alpha1.ListRepositoriesUserCanAccessResponse], error)
- func (UnimplementedRepositoryServiceHandler) ListRepositoryContributors(context.Context, ...) (*connect_go.Response[v1alpha1.ListRepositoryContributorsResponse], error)
- func (UnimplementedRepositoryServiceHandler) ListUserRepositories(context.Context, *connect_go.Request[v1alpha1.ListUserRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListUserRepositoriesResponse], error)
- func (UnimplementedRepositoryServiceHandler) SetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.SetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.SetRepositoryContributorResponse], error)
- func (UnimplementedRepositoryServiceHandler) UndeprecateRepositoryByName(context.Context, ...) (*connect_go.Response[v1alpha1.UndeprecateRepositoryByNameResponse], error)
- func (UnimplementedRepositoryServiceHandler) UpdateRepositorySettingsByName(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateRepositorySettingsByNameResponse], error)
- type UnimplementedRepositoryTagServiceHandler
- func (UnimplementedRepositoryTagServiceHandler) CreateRepositoryTag(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryTagRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryTagResponse], error)
- func (UnimplementedRepositoryTagServiceHandler) ListRepositoryTags(context.Context, *connect_go.Request[v1alpha1.ListRepositoryTagsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryTagsResponse], error)
- type UnimplementedResolveServiceHandler
- type UnimplementedResourceServiceHandler
- type UnimplementedSchemaServiceHandler
- func (UnimplementedSchemaServiceHandler) ConvertMessage(context.Context, *connect_go.Request[v1alpha1.ConvertMessageRequest]) (*connect_go.Response[v1alpha1.ConvertMessageResponse], error)
- func (UnimplementedSchemaServiceHandler) GetSchema(context.Context, *connect_go.Request[v1alpha1.GetSchemaRequest]) (*connect_go.Response[v1alpha1.GetSchemaResponse], error)
- type UnimplementedSearchServiceHandler
- func (UnimplementedSearchServiceHandler) Search(context.Context, *connect_go.Request[v1alpha1.SearchRequest]) (*connect_go.Response[v1alpha1.SearchResponse], error)
- func (UnimplementedSearchServiceHandler) SearchDraft(context.Context, *connect_go.Request[v1alpha1.SearchDraftRequest]) (*connect_go.Response[v1alpha1.SearchDraftResponse], error)
- func (UnimplementedSearchServiceHandler) SearchTag(context.Context, *connect_go.Request[v1alpha1.SearchTagRequest]) (*connect_go.Response[v1alpha1.SearchTagResponse], error)
- type UnimplementedStudioRequestServiceHandler
- func (UnimplementedStudioRequestServiceHandler) CreateStudioRequest(context.Context, *connect_go.Request[v1alpha1.CreateStudioRequestRequest]) (*connect_go.Response[v1alpha1.CreateStudioRequestResponse], error)
- func (UnimplementedStudioRequestServiceHandler) DeleteStudioRequest(context.Context, *connect_go.Request[v1alpha1.DeleteStudioRequestRequest]) (*connect_go.Response[v1alpha1.DeleteStudioRequestResponse], error)
- func (UnimplementedStudioRequestServiceHandler) ListStudioRequests(context.Context, *connect_go.Request[v1alpha1.ListStudioRequestsRequest]) (*connect_go.Response[v1alpha1.ListStudioRequestsResponse], error)
- func (UnimplementedStudioRequestServiceHandler) RenameStudioRequest(context.Context, *connect_go.Request[v1alpha1.RenameStudioRequestRequest]) (*connect_go.Response[v1alpha1.RenameStudioRequestResponse], error)
- type UnimplementedStudioServiceHandler
- func (UnimplementedStudioServiceHandler) ListStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.ListStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.ListStudioAgentPresetsResponse], error)
- func (UnimplementedStudioServiceHandler) SetStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.SetStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.SetStudioAgentPresetsResponse], error)
- type UnimplementedTokenServiceHandler
- func (UnimplementedTokenServiceHandler) CreateToken(context.Context, *connect_go.Request[v1alpha1.CreateTokenRequest]) (*connect_go.Response[v1alpha1.CreateTokenResponse], error)
- func (UnimplementedTokenServiceHandler) DeleteToken(context.Context, *connect_go.Request[v1alpha1.DeleteTokenRequest]) (*connect_go.Response[v1alpha1.DeleteTokenResponse], error)
- func (UnimplementedTokenServiceHandler) GetToken(context.Context, *connect_go.Request[v1alpha1.GetTokenRequest]) (*connect_go.Response[v1alpha1.GetTokenResponse], error)
- func (UnimplementedTokenServiceHandler) ListTokens(context.Context, *connect_go.Request[v1alpha1.ListTokensRequest]) (*connect_go.Response[v1alpha1.ListTokensResponse], error)
- type UnimplementedUserServiceHandler
- func (UnimplementedUserServiceHandler) CountUsers(context.Context, *connect_go.Request[v1alpha1.CountUsersRequest]) (*connect_go.Response[v1alpha1.CountUsersResponse], error)
- func (UnimplementedUserServiceHandler) CreateUser(context.Context, *connect_go.Request[v1alpha1.CreateUserRequest]) (*connect_go.Response[v1alpha1.CreateUserResponse], error)
- func (UnimplementedUserServiceHandler) DeactivateUser(context.Context, *connect_go.Request[v1alpha1.DeactivateUserRequest]) (*connect_go.Response[v1alpha1.DeactivateUserResponse], error)
- func (UnimplementedUserServiceHandler) DeleteUser(context.Context, *connect_go.Request[v1alpha1.DeleteUserRequest]) (*connect_go.Response[v1alpha1.DeleteUserResponse], error)
- func (UnimplementedUserServiceHandler) GetUser(context.Context, *connect_go.Request[v1alpha1.GetUserRequest]) (*connect_go.Response[v1alpha1.GetUserResponse], error)
- func (UnimplementedUserServiceHandler) GetUserByUsername(context.Context, *connect_go.Request[v1alpha1.GetUserByUsernameRequest]) (*connect_go.Response[v1alpha1.GetUserByUsernameResponse], error)
- func (UnimplementedUserServiceHandler) ListOrganizationUsers(context.Context, *connect_go.Request[v1alpha1.ListOrganizationUsersRequest]) (*connect_go.Response[v1alpha1.ListOrganizationUsersResponse], error)
- func (UnimplementedUserServiceHandler) ListUsers(context.Context, *connect_go.Request[v1alpha1.ListUsersRequest]) (*connect_go.Response[v1alpha1.ListUsersResponse], error)
- func (UnimplementedUserServiceHandler) UpdateUserServerRole(context.Context, *connect_go.Request[v1alpha1.UpdateUserServerRoleRequest]) (*connect_go.Response[v1alpha1.UpdateUserServerRoleResponse], error)
- func (UnimplementedUserServiceHandler) UpdateUserSettings(context.Context, *connect_go.Request[v1alpha1.UpdateUserSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateUserSettingsResponse], error)
- type UnimplementedWebhookServiceHandler
- func (UnimplementedWebhookServiceHandler) CreateWebhook(context.Context, *connect_go.Request[v1alpha1.CreateWebhookRequest]) (*connect_go.Response[v1alpha1.CreateWebhookResponse], error)
- func (UnimplementedWebhookServiceHandler) DeleteWebhook(context.Context, *connect_go.Request[v1alpha1.DeleteWebhookRequest]) (*connect_go.Response[v1alpha1.DeleteWebhookResponse], error)
- func (UnimplementedWebhookServiceHandler) ListWebhooks(context.Context, *connect_go.Request[v1alpha1.ListWebhooksRequest]) (*connect_go.Response[v1alpha1.ListWebhooksResponse], error)
- type UserServiceClient
- type UserServiceHandler
- type WebhookServiceClient
- type WebhookServiceHandler
Constants ¶
const ( // PluginCurationServiceName is the fully-qualified name of the PluginCurationService service. PluginCurationServiceName = "buf.alpha.registry.v1alpha1.PluginCurationService" // CodeGenerationServiceName is the fully-qualified name of the CodeGenerationService service. CodeGenerationServiceName = "buf.alpha.registry.v1alpha1.CodeGenerationService" )
const ( // ResolveServiceName is the fully-qualified name of the ResolveService service. ResolveServiceName = "buf.alpha.registry.v1alpha1.ResolveService" // LocalResolveServiceName is the fully-qualified name of the LocalResolveService service. LocalResolveServiceName = "buf.alpha.registry.v1alpha1.LocalResolveService" )
const (
// AdminServiceName is the fully-qualified name of the AdminService service.
AdminServiceName = "buf.alpha.registry.v1alpha1.AdminService"
)
const (
// AuthnServiceName is the fully-qualified name of the AuthnService service.
AuthnServiceName = "buf.alpha.registry.v1alpha1.AuthnService"
)
const (
// AuthzServiceName is the fully-qualified name of the AuthzService service.
AuthzServiceName = "buf.alpha.registry.v1alpha1.AuthzService"
)
const (
// ConvertServiceName is the fully-qualified name of the ConvertService service.
ConvertServiceName = "buf.alpha.registry.v1alpha1.ConvertService"
)
const (
// DisplayServiceName is the fully-qualified name of the DisplayService service.
DisplayServiceName = "buf.alpha.registry.v1alpha1.DisplayService"
)
const (
// DocServiceName is the fully-qualified name of the DocService service.
DocServiceName = "buf.alpha.registry.v1alpha1.DocService"
)
const (
// DownloadServiceName is the fully-qualified name of the DownloadService service.
DownloadServiceName = "buf.alpha.registry.v1alpha1.DownloadService"
)
const (
// GenerateServiceName is the fully-qualified name of the GenerateService service.
GenerateServiceName = "buf.alpha.registry.v1alpha1.GenerateService"
)
const (
// GithubServiceName is the fully-qualified name of the GithubService service.
GithubServiceName = "buf.alpha.registry.v1alpha1.GithubService"
)
const (
// ImageServiceName is the fully-qualified name of the ImageService service.
ImageServiceName = "buf.alpha.registry.v1alpha1.ImageService"
)
const (
// JSONSchemaServiceName is the fully-qualified name of the JSONSchemaService service.
JSONSchemaServiceName = "buf.alpha.registry.v1alpha1.JSONSchemaService"
)
const (
// OrganizationServiceName is the fully-qualified name of the OrganizationService service.
OrganizationServiceName = "buf.alpha.registry.v1alpha1.OrganizationService"
)
const (
// OwnerServiceName is the fully-qualified name of the OwnerService service.
OwnerServiceName = "buf.alpha.registry.v1alpha1.OwnerService"
)
const (
// PluginServiceName is the fully-qualified name of the PluginService service.
PluginServiceName = "buf.alpha.registry.v1alpha1.PluginService"
)
const (
// PushServiceName is the fully-qualified name of the PushService service.
PushServiceName = "buf.alpha.registry.v1alpha1.PushService"
)
const (
// RecommendationServiceName is the fully-qualified name of the RecommendationService service.
RecommendationServiceName = "buf.alpha.registry.v1alpha1.RecommendationService"
)
const (
// ReferenceServiceName is the fully-qualified name of the ReferenceService service.
ReferenceServiceName = "buf.alpha.registry.v1alpha1.ReferenceService"
)
const (
// RepositoryCommitServiceName is the fully-qualified name of the RepositoryCommitService service.
RepositoryCommitServiceName = "buf.alpha.registry.v1alpha1.RepositoryCommitService"
)
const (
// RepositoryServiceName is the fully-qualified name of the RepositoryService service.
RepositoryServiceName = "buf.alpha.registry.v1alpha1.RepositoryService"
)
const (
// RepositoryTagServiceName is the fully-qualified name of the RepositoryTagService service.
RepositoryTagServiceName = "buf.alpha.registry.v1alpha1.RepositoryTagService"
)
const (
// ResourceServiceName is the fully-qualified name of the ResourceService service.
ResourceServiceName = "buf.alpha.registry.v1alpha1.ResourceService"
)
const (
// SchemaServiceName is the fully-qualified name of the SchemaService service.
SchemaServiceName = "buf.alpha.registry.v1alpha1.SchemaService"
)
const (
// SearchServiceName is the fully-qualified name of the SearchService service.
SearchServiceName = "buf.alpha.registry.v1alpha1.SearchService"
)
const (
// StudioRequestServiceName is the fully-qualified name of the StudioRequestService service.
StudioRequestServiceName = "buf.alpha.registry.v1alpha1.StudioRequestService"
)
const (
// StudioServiceName is the fully-qualified name of the StudioService service.
StudioServiceName = "buf.alpha.registry.v1alpha1.StudioService"
)
const (
// TokenServiceName is the fully-qualified name of the TokenService service.
TokenServiceName = "buf.alpha.registry.v1alpha1.TokenService"
)
const (
// UserServiceName is the fully-qualified name of the UserService service.
UserServiceName = "buf.alpha.registry.v1alpha1.UserService"
)
const (
// WebhookServiceName is the fully-qualified name of the WebhookService service.
WebhookServiceName = "buf.alpha.registry.v1alpha1.WebhookService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAdminServiceHandler ¶
func NewAdminServiceHandler(svc AdminServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewAdminServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewAuthnServiceHandler ¶
func NewAuthnServiceHandler(svc AuthnServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewAuthnServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewAuthzServiceHandler ¶
func NewAuthzServiceHandler(svc AuthzServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewAuthzServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewCodeGenerationServiceHandler ¶ added in v1.7.0
func NewCodeGenerationServiceHandler(svc CodeGenerationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewCodeGenerationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewConvertServiceHandler ¶
func NewConvertServiceHandler(svc ConvertServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewConvertServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewDisplayServiceHandler ¶
func NewDisplayServiceHandler(svc DisplayServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewDisplayServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewDocServiceHandler ¶
func NewDocServiceHandler(svc DocServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewDocServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewDownloadServiceHandler ¶
func NewDownloadServiceHandler(svc DownloadServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewDownloadServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewGenerateServiceHandler ¶
func NewGenerateServiceHandler(svc GenerateServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewGenerateServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewGithubServiceHandler ¶
func NewGithubServiceHandler(svc GithubServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewGithubServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewImageServiceHandler ¶
func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewImageServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewJSONSchemaServiceHandler ¶
func NewJSONSchemaServiceHandler(svc JSONSchemaServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewJSONSchemaServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewLocalResolveServiceHandler ¶
func NewLocalResolveServiceHandler(svc LocalResolveServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewLocalResolveServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewOrganizationServiceHandler ¶
func NewOrganizationServiceHandler(svc OrganizationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewOrganizationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewOwnerServiceHandler ¶
func NewOwnerServiceHandler(svc OwnerServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewOwnerServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPluginCurationServiceHandler ¶ added in v1.7.0
func NewPluginCurationServiceHandler(svc PluginCurationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewPluginCurationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPluginServiceHandler ¶
func NewPluginServiceHandler(svc PluginServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewPluginServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPushServiceHandler ¶
func NewPushServiceHandler(svc PushServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewPushServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewRecommendationServiceHandler ¶
func NewRecommendationServiceHandler(svc RecommendationServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewRecommendationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewReferenceServiceHandler ¶
func NewReferenceServiceHandler(svc ReferenceServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewReferenceServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewRepositoryCommitServiceHandler ¶
func NewRepositoryCommitServiceHandler(svc RepositoryCommitServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewRepositoryCommitServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewRepositoryServiceHandler ¶
func NewRepositoryServiceHandler(svc RepositoryServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewRepositoryServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewRepositoryTagServiceHandler ¶
func NewRepositoryTagServiceHandler(svc RepositoryTagServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewRepositoryTagServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewResolveServiceHandler ¶
func NewResolveServiceHandler(svc ResolveServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewResolveServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewResourceServiceHandler ¶ added in v1.9.0
func NewResourceServiceHandler(svc ResourceServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewResourceServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSchemaServiceHandler ¶ added in v1.10.0
func NewSchemaServiceHandler(svc SchemaServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewSchemaServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSearchServiceHandler ¶
func NewSearchServiceHandler(svc SearchServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewSearchServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewStudioRequestServiceHandler ¶ added in v1.8.0
func NewStudioRequestServiceHandler(svc StudioRequestServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewStudioRequestServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewStudioServiceHandler ¶
func NewStudioServiceHandler(svc StudioServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewStudioServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTokenServiceHandler ¶
func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewTokenServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewUserServiceHandler ¶
func NewUserServiceHandler(svc UserServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewUserServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewWebhookServiceHandler ¶ added in v1.6.0
func NewWebhookServiceHandler(svc WebhookServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewWebhookServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AdminServiceClient ¶
type AdminServiceClient interface { // ForceDeleteUser forces to delete a user. Resources and organizations that are // solely owned by the user will also be deleted. ForceDeleteUser(context.Context, *connect_go.Request[v1alpha1.ForceDeleteUserRequest]) (*connect_go.Response[v1alpha1.ForceDeleteUserResponse], error) // Update a user's verification status. UpdateUserVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateUserVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateUserVerificationStatusResponse], error) // Update a organization's verification. UpdateOrganizationVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationVerificationStatusResponse], error) // Create a new machine user on the server. CreateMachineUser(context.Context, *connect_go.Request[v1alpha1.CreateMachineUserRequest]) (*connect_go.Response[v1alpha1.CreateMachineUserResponse], error) }
AdminServiceClient is a client for the buf.alpha.registry.v1alpha1.AdminService service.
func NewAdminServiceClient ¶
func NewAdminServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) AdminServiceClient
NewAdminServiceClient constructs a client for the buf.alpha.registry.v1alpha1.AdminService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AdminServiceHandler ¶
type AdminServiceHandler interface { // ForceDeleteUser forces to delete a user. Resources and organizations that are // solely owned by the user will also be deleted. ForceDeleteUser(context.Context, *connect_go.Request[v1alpha1.ForceDeleteUserRequest]) (*connect_go.Response[v1alpha1.ForceDeleteUserResponse], error) // Update a user's verification status. UpdateUserVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateUserVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateUserVerificationStatusResponse], error) // Update a organization's verification. UpdateOrganizationVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationVerificationStatusResponse], error) // Create a new machine user on the server. CreateMachineUser(context.Context, *connect_go.Request[v1alpha1.CreateMachineUserRequest]) (*connect_go.Response[v1alpha1.CreateMachineUserResponse], error) }
AdminServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.AdminService service.
type AuthnServiceClient ¶
type AuthnServiceClient interface { // GetCurrentUser gets information associated with the current user. // // The user's ID is retrieved from the request's authentication header. GetCurrentUser(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserResponse], error) // GetCurrentUserSubject gets the currently logged in users subject. // // The user's ID is retrieved from the request's authentication header. GetCurrentUserSubject(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserSubjectRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserSubjectResponse], error) }
AuthnServiceClient is a client for the buf.alpha.registry.v1alpha1.AuthnService service.
func NewAuthnServiceClient ¶
func NewAuthnServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) AuthnServiceClient
NewAuthnServiceClient constructs a client for the buf.alpha.registry.v1alpha1.AuthnService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AuthnServiceHandler ¶
type AuthnServiceHandler interface { // GetCurrentUser gets information associated with the current user. // // The user's ID is retrieved from the request's authentication header. GetCurrentUser(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserResponse], error) // GetCurrentUserSubject gets the currently logged in users subject. // // The user's ID is retrieved from the request's authentication header. GetCurrentUserSubject(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserSubjectRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserSubjectResponse], error) }
AuthnServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.AuthnService service.
type AuthzServiceClient ¶
type AuthzServiceClient interface { // UserCanCreateOrganizationRepository returns whether the user is authorized // to create repositories in an organization. UserCanCreateOrganizationRepository(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationRepositoryResponse], error) // UserCanSeeRepositorySettings returns whether the user is authorized // to see repository settings. UserCanSeeRepositorySettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeRepositorySettingsResponse], error) // UserCanSeeOrganizationSettings returns whether the user is authorized // to see organization settings. UserCanSeeOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeOrganizationSettingsResponse], error) // UserCanReadPlugin returns whether the user has read access to the specified plugin. // // Deprecated: do not use. UserCanReadPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanReadPluginRequest]) (*connect_go.Response[v1alpha1.UserCanReadPluginResponse], error) // UserCanCreatePluginVersion returns whether the user is authorized // to create a plugin version under the specified plugin. // // Deprecated: do not use. UserCanCreatePluginVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreatePluginVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreatePluginVersionResponse], error) // UserCanCreateTemplateVersion returns whether the user is authorized // to create a template version under the specified template. // // Deprecated: do not use. UserCanCreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreateTemplateVersionResponse], error) // UserCanCreateOrganizationPlugin returns whether the user is authorized to create // a plugin in an organization. // // Deprecated: do not use. UserCanCreateOrganizationPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationPluginRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationPluginResponse], error) // UserCanCreateOrganizationPlugin returns whether the user is authorized to create // a template in an organization. // // Deprecated: do not use. UserCanCreateOrganizationTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationTemplateResponse], error) // UserCanSeePluginSettings returns whether the user is authorized // to see plugin settings. // // Deprecated: do not use. UserCanSeePluginSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeePluginSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeePluginSettingsResponse], error) // UserCanSeeTemplateSettings returns whether the user is authorized // to see template settings. // // Deprecated: do not use. UserCanSeeTemplateSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeTemplateSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeTemplateSettingsResponse], error) // UserCanAddOrganizationMember returns whether the user is authorized to add // any members to the organization and the list of roles they can add. UserCanAddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanAddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanAddOrganizationMemberResponse], error) // UserCanUpdateOrganizationMember returns whether the user is authorized to update // any members' membership information in the organization and the list of roles they can update. UserCanUpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanUpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanUpdateOrganizationMemberResponse], error) // UserCanRemoveOrganizationMember returns whether the user is authorized to remove // any members from the organization and the list of roles they can remove. UserCanRemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanRemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanRemoveOrganizationMemberResponse], error) // UserCanDeleteOrganization returns whether the user is authorized // to delete an organization. UserCanDeleteOrganization(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteOrganizationResponse], error) // UserCanDeleteRepository returns whether the user is authorized // to delete a repository. UserCanDeleteRepository(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteRepositoryResponse], error) // UserCanDeleteTemplate returns whether the user is authorized // to delete a template. // // Deprecated: do not use. UserCanDeleteTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteTemplateResponse], error) // UserCanDeletePlugin returns whether the user is authorized // to delete a plugin. // // Deprecated: do not use. UserCanDeletePlugin(context.Context, *connect_go.Request[v1alpha1.UserCanDeletePluginRequest]) (*connect_go.Response[v1alpha1.UserCanDeletePluginResponse], error) // UserCanDeleteUser returns whether the user is authorized // to delete a user. UserCanDeleteUser(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteUserRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteUserResponse], error) // UserCanSeeServerAdminPanel returns whether the user is authorized // to see server admin panel. UserCanSeeServerAdminPanel(context.Context, *connect_go.Request[v1alpha1.UserCanSeeServerAdminPanelRequest]) (*connect_go.Response[v1alpha1.UserCanSeeServerAdminPanelResponse], error) // UserCanManageRepositoryContributors returns whether the user is authorized to manage // any contributors to the repository and the list of roles they can manage. UserCanManageRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageRepositoryContributorsResponse], error) // UserCanManagePluginContributors returns whether the user is authorized to manage // any contributors to the plugin and the list of roles they can manage. // // Deprecated: do not use. UserCanManagePluginContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManagePluginContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManagePluginContributorsResponse], error) // UserCanManageTemplateContributors returns whether the user is authorized to manage // any contributors to the template and the list of roles they can manage. // // Deprecated: do not use. UserCanManageTemplateContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageTemplateContributorsResponse], error) }
AuthzServiceClient is a client for the buf.alpha.registry.v1alpha1.AuthzService service.
func NewAuthzServiceClient ¶
func NewAuthzServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) AuthzServiceClient
NewAuthzServiceClient constructs a client for the buf.alpha.registry.v1alpha1.AuthzService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AuthzServiceHandler ¶
type AuthzServiceHandler interface { // UserCanCreateOrganizationRepository returns whether the user is authorized // to create repositories in an organization. UserCanCreateOrganizationRepository(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationRepositoryResponse], error) // UserCanSeeRepositorySettings returns whether the user is authorized // to see repository settings. UserCanSeeRepositorySettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeRepositorySettingsResponse], error) // UserCanSeeOrganizationSettings returns whether the user is authorized // to see organization settings. UserCanSeeOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeOrganizationSettingsResponse], error) // UserCanReadPlugin returns whether the user has read access to the specified plugin. // // Deprecated: do not use. UserCanReadPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanReadPluginRequest]) (*connect_go.Response[v1alpha1.UserCanReadPluginResponse], error) // UserCanCreatePluginVersion returns whether the user is authorized // to create a plugin version under the specified plugin. // // Deprecated: do not use. UserCanCreatePluginVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreatePluginVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreatePluginVersionResponse], error) // UserCanCreateTemplateVersion returns whether the user is authorized // to create a template version under the specified template. // // Deprecated: do not use. UserCanCreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreateTemplateVersionResponse], error) // UserCanCreateOrganizationPlugin returns whether the user is authorized to create // a plugin in an organization. // // Deprecated: do not use. UserCanCreateOrganizationPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationPluginRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationPluginResponse], error) // UserCanCreateOrganizationPlugin returns whether the user is authorized to create // a template in an organization. // // Deprecated: do not use. UserCanCreateOrganizationTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationTemplateResponse], error) // UserCanSeePluginSettings returns whether the user is authorized // to see plugin settings. // // Deprecated: do not use. UserCanSeePluginSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeePluginSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeePluginSettingsResponse], error) // UserCanSeeTemplateSettings returns whether the user is authorized // to see template settings. // // Deprecated: do not use. UserCanSeeTemplateSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeTemplateSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeTemplateSettingsResponse], error) // UserCanAddOrganizationMember returns whether the user is authorized to add // any members to the organization and the list of roles they can add. UserCanAddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanAddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanAddOrganizationMemberResponse], error) // UserCanUpdateOrganizationMember returns whether the user is authorized to update // any members' membership information in the organization and the list of roles they can update. UserCanUpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanUpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanUpdateOrganizationMemberResponse], error) // UserCanRemoveOrganizationMember returns whether the user is authorized to remove // any members from the organization and the list of roles they can remove. UserCanRemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanRemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanRemoveOrganizationMemberResponse], error) // UserCanDeleteOrganization returns whether the user is authorized // to delete an organization. UserCanDeleteOrganization(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteOrganizationResponse], error) // UserCanDeleteRepository returns whether the user is authorized // to delete a repository. UserCanDeleteRepository(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteRepositoryResponse], error) // UserCanDeleteTemplate returns whether the user is authorized // to delete a template. // // Deprecated: do not use. UserCanDeleteTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteTemplateResponse], error) // UserCanDeletePlugin returns whether the user is authorized // to delete a plugin. // // Deprecated: do not use. UserCanDeletePlugin(context.Context, *connect_go.Request[v1alpha1.UserCanDeletePluginRequest]) (*connect_go.Response[v1alpha1.UserCanDeletePluginResponse], error) // UserCanDeleteUser returns whether the user is authorized // to delete a user. UserCanDeleteUser(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteUserRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteUserResponse], error) // UserCanSeeServerAdminPanel returns whether the user is authorized // to see server admin panel. UserCanSeeServerAdminPanel(context.Context, *connect_go.Request[v1alpha1.UserCanSeeServerAdminPanelRequest]) (*connect_go.Response[v1alpha1.UserCanSeeServerAdminPanelResponse], error) // UserCanManageRepositoryContributors returns whether the user is authorized to manage // any contributors to the repository and the list of roles they can manage. UserCanManageRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageRepositoryContributorsResponse], error) // UserCanManagePluginContributors returns whether the user is authorized to manage // any contributors to the plugin and the list of roles they can manage. // // Deprecated: do not use. UserCanManagePluginContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManagePluginContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManagePluginContributorsResponse], error) // UserCanManageTemplateContributors returns whether the user is authorized to manage // any contributors to the template and the list of roles they can manage. // // Deprecated: do not use. UserCanManageTemplateContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageTemplateContributorsResponse], error) }
AuthzServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.AuthzService service.
type CodeGenerationServiceClient ¶ added in v1.7.0
type CodeGenerationServiceClient interface { // GenerateCode generates code using the specified remote plugins. GenerateCode(context.Context, *connect_go.Request[v1alpha1.GenerateCodeRequest]) (*connect_go.Response[v1alpha1.GenerateCodeResponse], error) }
CodeGenerationServiceClient is a client for the buf.alpha.registry.v1alpha1.CodeGenerationService service.
func NewCodeGenerationServiceClient ¶ added in v1.7.0
func NewCodeGenerationServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) CodeGenerationServiceClient
NewCodeGenerationServiceClient constructs a client for the buf.alpha.registry.v1alpha1.CodeGenerationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type CodeGenerationServiceHandler ¶ added in v1.7.0
type CodeGenerationServiceHandler interface { // GenerateCode generates code using the specified remote plugins. GenerateCode(context.Context, *connect_go.Request[v1alpha1.GenerateCodeRequest]) (*connect_go.Response[v1alpha1.GenerateCodeResponse], error) }
CodeGenerationServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.CodeGenerationService service.
type ConvertServiceClient ¶
type ConvertServiceClient interface { // Convert converts a serialized message according to // the provided type name using an image. Convert(context.Context, *connect_go.Request[v1alpha1.ConvertRequest]) (*connect_go.Response[v1alpha1.ConvertResponse], error) }
ConvertServiceClient is a client for the buf.alpha.registry.v1alpha1.ConvertService service.
func NewConvertServiceClient ¶
func NewConvertServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ConvertServiceClient
NewConvertServiceClient constructs a client for the buf.alpha.registry.v1alpha1.ConvertService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ConvertServiceHandler ¶
type ConvertServiceHandler interface { // Convert converts a serialized message according to // the provided type name using an image. Convert(context.Context, *connect_go.Request[v1alpha1.ConvertRequest]) (*connect_go.Response[v1alpha1.ConvertResponse], error) }
ConvertServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.ConvertService service.
type DisplayServiceClient ¶
type DisplayServiceClient interface { // DisplayOrganizationElements returns which organization elements should be displayed to the user. DisplayOrganizationElements(context.Context, *connect_go.Request[v1alpha1.DisplayOrganizationElementsRequest]) (*connect_go.Response[v1alpha1.DisplayOrganizationElementsResponse], error) // DisplayRepositoryElements returns which repository elements should be displayed to the user. DisplayRepositoryElements(context.Context, *connect_go.Request[v1alpha1.DisplayRepositoryElementsRequest]) (*connect_go.Response[v1alpha1.DisplayRepositoryElementsResponse], error) // DisplayPluginElements returns which plugin elements should be displayed to the user. // // Deprecated: do not use. DisplayPluginElements(context.Context, *connect_go.Request[v1alpha1.DisplayPluginElementsRequest]) (*connect_go.Response[v1alpha1.DisplayPluginElementsResponse], error) // DisplayTemplateElements returns which template elements should be displayed to the user. // // Deprecated: do not use. DisplayTemplateElements(context.Context, *connect_go.Request[v1alpha1.DisplayTemplateElementsRequest]) (*connect_go.Response[v1alpha1.DisplayTemplateElementsResponse], error) // DisplayUserElements returns which user elements should be displayed to the user. DisplayUserElements(context.Context, *connect_go.Request[v1alpha1.DisplayUserElementsRequest]) (*connect_go.Response[v1alpha1.DisplayUserElementsResponse], error) // DisplayServerElements returns which server elements should be displayed to the user. DisplayServerElements(context.Context, *connect_go.Request[v1alpha1.DisplayServerElementsRequest]) (*connect_go.Response[v1alpha1.DisplayServerElementsResponse], error) // ListManageableRepositoryRoles returns which roles should be displayed // to the user when they are managing contributors on the repository. ListManageableRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableRepositoryRolesResponse], error) // ListManageableUserRepositoryRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the repository. ListManageableUserRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserRepositoryRolesResponse], error) // ListManageablePluginRoles returns which roles should be displayed // to the user when they are managing contributors on the plugin. // // Deprecated: do not use. ListManageablePluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageablePluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageablePluginRolesResponse], error) // ListManageableUserPluginRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the plugin. // // Deprecated: do not use. ListManageableUserPluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserPluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserPluginRolesResponse], error) // ListManageableTemplateRoles returns which roles should be displayed // to the user when they are managing contributors on the template. // // Deprecated: do not use. ListManageableTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableTemplateRolesResponse], error) // ListManageableUserTemplateRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the template. // // Deprecated: do not use. ListManageableUserTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserTemplateRolesResponse], error) }
DisplayServiceClient is a client for the buf.alpha.registry.v1alpha1.DisplayService service.
func NewDisplayServiceClient ¶
func NewDisplayServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) DisplayServiceClient
NewDisplayServiceClient constructs a client for the buf.alpha.registry.v1alpha1.DisplayService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type DisplayServiceHandler ¶
type DisplayServiceHandler interface { // DisplayOrganizationElements returns which organization elements should be displayed to the user. DisplayOrganizationElements(context.Context, *connect_go.Request[v1alpha1.DisplayOrganizationElementsRequest]) (*connect_go.Response[v1alpha1.DisplayOrganizationElementsResponse], error) // DisplayRepositoryElements returns which repository elements should be displayed to the user. DisplayRepositoryElements(context.Context, *connect_go.Request[v1alpha1.DisplayRepositoryElementsRequest]) (*connect_go.Response[v1alpha1.DisplayRepositoryElementsResponse], error) // DisplayPluginElements returns which plugin elements should be displayed to the user. // // Deprecated: do not use. DisplayPluginElements(context.Context, *connect_go.Request[v1alpha1.DisplayPluginElementsRequest]) (*connect_go.Response[v1alpha1.DisplayPluginElementsResponse], error) // DisplayTemplateElements returns which template elements should be displayed to the user. // // Deprecated: do not use. DisplayTemplateElements(context.Context, *connect_go.Request[v1alpha1.DisplayTemplateElementsRequest]) (*connect_go.Response[v1alpha1.DisplayTemplateElementsResponse], error) // DisplayUserElements returns which user elements should be displayed to the user. DisplayUserElements(context.Context, *connect_go.Request[v1alpha1.DisplayUserElementsRequest]) (*connect_go.Response[v1alpha1.DisplayUserElementsResponse], error) // DisplayServerElements returns which server elements should be displayed to the user. DisplayServerElements(context.Context, *connect_go.Request[v1alpha1.DisplayServerElementsRequest]) (*connect_go.Response[v1alpha1.DisplayServerElementsResponse], error) // ListManageableRepositoryRoles returns which roles should be displayed // to the user when they are managing contributors on the repository. ListManageableRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableRepositoryRolesResponse], error) // ListManageableUserRepositoryRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the repository. ListManageableUserRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserRepositoryRolesResponse], error) // ListManageablePluginRoles returns which roles should be displayed // to the user when they are managing contributors on the plugin. // // Deprecated: do not use. ListManageablePluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageablePluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageablePluginRolesResponse], error) // ListManageableUserPluginRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the plugin. // // Deprecated: do not use. ListManageableUserPluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserPluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserPluginRolesResponse], error) // ListManageableTemplateRoles returns which roles should be displayed // to the user when they are managing contributors on the template. // // Deprecated: do not use. ListManageableTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableTemplateRolesResponse], error) // ListManageableUserTemplateRoles returns which roles should be displayed // to the user when they are managing a specific contributor on the template. // // Deprecated: do not use. ListManageableUserTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserTemplateRolesResponse], error) }
DisplayServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.DisplayService service.
type DocServiceClient ¶
type DocServiceClient interface { // GetSourceDirectoryInfo retrieves the directory and file structure for the // given owner, repository and reference. // // The purpose of this is to get a representation of the file tree for a given // module to enable exploring the module by navigating through its contents. GetSourceDirectoryInfo(context.Context, *connect_go.Request[v1alpha1.GetSourceDirectoryInfoRequest]) (*connect_go.Response[v1alpha1.GetSourceDirectoryInfoResponse], error) // GetSourceFile retrieves the source contents for the given owner, repository, // reference, and path. GetSourceFile(context.Context, *connect_go.Request[v1alpha1.GetSourceFileRequest]) (*connect_go.Response[v1alpha1.GetSourceFileResponse], error) // GetModulePackages retrieves the list of packages for the module based on the given // owner, repository, and reference. GetModulePackages(context.Context, *connect_go.Request[v1alpha1.GetModulePackagesRequest]) (*connect_go.Response[v1alpha1.GetModulePackagesResponse], error) // GetModuleDocumentation retrieves the documentations including buf.md and LICENSE files // for module based on the given owner, repository, and reference. GetModuleDocumentation(context.Context, *connect_go.Request[v1alpha1.GetModuleDocumentationRequest]) (*connect_go.Response[v1alpha1.GetModuleDocumentationResponse], error) // GetPackageDocumentation retrieves a a slice of documentation structures // for the given owner, repository, reference, and package name. GetPackageDocumentation(context.Context, *connect_go.Request[v1alpha1.GetPackageDocumentationRequest]) (*connect_go.Response[v1alpha1.GetPackageDocumentationResponse], error) }
DocServiceClient is a client for the buf.alpha.registry.v1alpha1.DocService service.
func NewDocServiceClient ¶
func NewDocServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) DocServiceClient
NewDocServiceClient constructs a client for the buf.alpha.registry.v1alpha1.DocService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type DocServiceHandler ¶
type DocServiceHandler interface { // GetSourceDirectoryInfo retrieves the directory and file structure for the // given owner, repository and reference. // // The purpose of this is to get a representation of the file tree for a given // module to enable exploring the module by navigating through its contents. GetSourceDirectoryInfo(context.Context, *connect_go.Request[v1alpha1.GetSourceDirectoryInfoRequest]) (*connect_go.Response[v1alpha1.GetSourceDirectoryInfoResponse], error) // GetSourceFile retrieves the source contents for the given owner, repository, // reference, and path. GetSourceFile(context.Context, *connect_go.Request[v1alpha1.GetSourceFileRequest]) (*connect_go.Response[v1alpha1.GetSourceFileResponse], error) // GetModulePackages retrieves the list of packages for the module based on the given // owner, repository, and reference. GetModulePackages(context.Context, *connect_go.Request[v1alpha1.GetModulePackagesRequest]) (*connect_go.Response[v1alpha1.GetModulePackagesResponse], error) // GetModuleDocumentation retrieves the documentations including buf.md and LICENSE files // for module based on the given owner, repository, and reference. GetModuleDocumentation(context.Context, *connect_go.Request[v1alpha1.GetModuleDocumentationRequest]) (*connect_go.Response[v1alpha1.GetModuleDocumentationResponse], error) // GetPackageDocumentation retrieves a a slice of documentation structures // for the given owner, repository, reference, and package name. GetPackageDocumentation(context.Context, *connect_go.Request[v1alpha1.GetPackageDocumentationRequest]) (*connect_go.Response[v1alpha1.GetPackageDocumentationResponse], error) }
DocServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.DocService service.
type DownloadServiceClient ¶
type DownloadServiceClient interface { // Download downloads a BSR module. // NOTE: Newer clients should use DownloadManifestAndBlobs instead. Download(context.Context, *connect_go.Request[v1alpha1.DownloadRequest]) (*connect_go.Response[v1alpha1.DownloadResponse], error) // DownloadManifestAndBlobs downloads a module in the manifest+blobs encoding format. DownloadManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.DownloadManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.DownloadManifestAndBlobsResponse], error) }
DownloadServiceClient is a client for the buf.alpha.registry.v1alpha1.DownloadService service.
func NewDownloadServiceClient ¶
func NewDownloadServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) DownloadServiceClient
NewDownloadServiceClient constructs a client for the buf.alpha.registry.v1alpha1.DownloadService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type DownloadServiceHandler ¶
type DownloadServiceHandler interface { // Download downloads a BSR module. // NOTE: Newer clients should use DownloadManifestAndBlobs instead. Download(context.Context, *connect_go.Request[v1alpha1.DownloadRequest]) (*connect_go.Response[v1alpha1.DownloadResponse], error) // DownloadManifestAndBlobs downloads a module in the manifest+blobs encoding format. DownloadManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.DownloadManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.DownloadManifestAndBlobsResponse], error) }
DownloadServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.DownloadService service.
type GenerateServiceClient ¶
type GenerateServiceClient interface { // GeneratePlugins generates an array of files given the provided // module reference and plugin version and option tuples. No attempt // is made at merging insertion points. GeneratePlugins(context.Context, *connect_go.Request[v1alpha1.GeneratePluginsRequest]) (*connect_go.Response[v1alpha1.GeneratePluginsResponse], error) // GenerateTemplate generates an array of files given the provided // module reference and template version. GenerateTemplate(context.Context, *connect_go.Request[v1alpha1.GenerateTemplateRequest]) (*connect_go.Response[v1alpha1.GenerateTemplateResponse], error) }
GenerateServiceClient is a client for the buf.alpha.registry.v1alpha1.GenerateService service.
func NewGenerateServiceClient ¶
func NewGenerateServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) GenerateServiceClient
NewGenerateServiceClient constructs a client for the buf.alpha.registry.v1alpha1.GenerateService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type GenerateServiceHandler ¶
type GenerateServiceHandler interface { // GeneratePlugins generates an array of files given the provided // module reference and plugin version and option tuples. No attempt // is made at merging insertion points. GeneratePlugins(context.Context, *connect_go.Request[v1alpha1.GeneratePluginsRequest]) (*connect_go.Response[v1alpha1.GeneratePluginsResponse], error) // GenerateTemplate generates an array of files given the provided // module reference and template version. GenerateTemplate(context.Context, *connect_go.Request[v1alpha1.GenerateTemplateRequest]) (*connect_go.Response[v1alpha1.GenerateTemplateResponse], error) }
GenerateServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.GenerateService service.
type GithubServiceClient ¶
type GithubServiceClient interface { // GetGithubAppConfig returns a Github Application Configuration. GetGithubAppConfig(context.Context, *connect_go.Request[v1alpha1.GetGithubAppConfigRequest]) (*connect_go.Response[v1alpha1.GetGithubAppConfigResponse], error) }
GithubServiceClient is a client for the buf.alpha.registry.v1alpha1.GithubService service.
func NewGithubServiceClient ¶
func NewGithubServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) GithubServiceClient
NewGithubServiceClient constructs a client for the buf.alpha.registry.v1alpha1.GithubService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type GithubServiceHandler ¶
type GithubServiceHandler interface { // GetGithubAppConfig returns a Github Application Configuration. GetGithubAppConfig(context.Context, *connect_go.Request[v1alpha1.GetGithubAppConfigRequest]) (*connect_go.Response[v1alpha1.GetGithubAppConfigResponse], error) }
GithubServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.GithubService service.
type ImageServiceClient ¶
type ImageServiceClient interface { // GetImage serves a compiled image for the local module. It automatically // downloads dependencies if necessary. GetImage(context.Context, *connect_go.Request[v1alpha1.GetImageRequest]) (*connect_go.Response[v1alpha1.GetImageResponse], error) }
ImageServiceClient is a client for the buf.alpha.registry.v1alpha1.ImageService service.
func NewImageServiceClient ¶
func NewImageServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ImageServiceClient
NewImageServiceClient constructs a client for the buf.alpha.registry.v1alpha1.ImageService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ImageServiceHandler ¶
type ImageServiceHandler interface { // GetImage serves a compiled image for the local module. It automatically // downloads dependencies if necessary. GetImage(context.Context, *connect_go.Request[v1alpha1.GetImageRequest]) (*connect_go.Response[v1alpha1.GetImageResponse], error) }
ImageServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.ImageService service.
type JSONSchemaServiceClient ¶
type JSONSchemaServiceClient interface { // GetJSONSchema allows users to get an (approximate) json schema for a // protobuf type. GetJSONSchema(context.Context, *connect_go.Request[v1alpha1.GetJSONSchemaRequest]) (*connect_go.Response[v1alpha1.GetJSONSchemaResponse], error) }
JSONSchemaServiceClient is a client for the buf.alpha.registry.v1alpha1.JSONSchemaService service.
func NewJSONSchemaServiceClient ¶
func NewJSONSchemaServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) JSONSchemaServiceClient
NewJSONSchemaServiceClient constructs a client for the buf.alpha.registry.v1alpha1.JSONSchemaService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type JSONSchemaServiceHandler ¶
type JSONSchemaServiceHandler interface { // GetJSONSchema allows users to get an (approximate) json schema for a // protobuf type. GetJSONSchema(context.Context, *connect_go.Request[v1alpha1.GetJSONSchemaRequest]) (*connect_go.Response[v1alpha1.GetJSONSchemaResponse], error) }
JSONSchemaServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.JSONSchemaService service.
type LocalResolveServiceClient ¶
type LocalResolveServiceClient interface { // GetLocalModulePins gets the latest pins for the specified local module references. // It also includes all of the modules transitive dependencies for the specified references. // // We want this for two reasons: // // 1. It makes it easy to say "we know we're looking for owner/repo on this specific remote". // While we could just do this in GetModulePins by being aware of what our remote is // (something we probably still need to know, DNS problems aside, which are more // theoretical), this helps. // 2. Having a separate method makes us able to say "do not make decisions about what // wins between competing pins for the same repo". This should only be done in // GetModulePins, not in this function, i.e. only done at the top level. GetLocalModulePins(context.Context, *connect_go.Request[v1alpha1.GetLocalModulePinsRequest]) (*connect_go.Response[v1alpha1.GetLocalModulePinsResponse], error) }
LocalResolveServiceClient is a client for the buf.alpha.registry.v1alpha1.LocalResolveService service.
func NewLocalResolveServiceClient ¶
func NewLocalResolveServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) LocalResolveServiceClient
NewLocalResolveServiceClient constructs a client for the buf.alpha.registry.v1alpha1.LocalResolveService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type LocalResolveServiceHandler ¶
type LocalResolveServiceHandler interface { // GetLocalModulePins gets the latest pins for the specified local module references. // It also includes all of the modules transitive dependencies for the specified references. // // We want this for two reasons: // // 1. It makes it easy to say "we know we're looking for owner/repo on this specific remote". // While we could just do this in GetModulePins by being aware of what our remote is // (something we probably still need to know, DNS problems aside, which are more // theoretical), this helps. // 2. Having a separate method makes us able to say "do not make decisions about what // wins between competing pins for the same repo". This should only be done in // GetModulePins, not in this function, i.e. only done at the top level. GetLocalModulePins(context.Context, *connect_go.Request[v1alpha1.GetLocalModulePinsRequest]) (*connect_go.Response[v1alpha1.GetLocalModulePinsResponse], error) }
LocalResolveServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.LocalResolveService service.
type OrganizationServiceClient ¶
type OrganizationServiceClient interface { // GetOrganization gets a organization by ID. GetOrganization(context.Context, *connect_go.Request[v1alpha1.GetOrganizationRequest]) (*connect_go.Response[v1alpha1.GetOrganizationResponse], error) // GetOrganizationByName gets a organization by name. GetOrganizationByName(context.Context, *connect_go.Request[v1alpha1.GetOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.GetOrganizationByNameResponse], error) // ListOrganizations lists all organizations. ListOrganizations(context.Context, *connect_go.Request[v1alpha1.ListOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationsResponse], error) // ListUserOrganizations lists all organizations a user is member of. ListUserOrganizations(context.Context, *connect_go.Request[v1alpha1.ListUserOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListUserOrganizationsResponse], error) // CreateOrganization creates a new organization. CreateOrganization(context.Context, *connect_go.Request[v1alpha1.CreateOrganizationRequest]) (*connect_go.Response[v1alpha1.CreateOrganizationResponse], error) // DeleteOrganization deletes a organization. DeleteOrganization(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationResponse], error) // DeleteOrganizationByName deletes a organization by name. DeleteOrganizationByName(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationByNameResponse], error) // AddOrganizationMember add a role to an user in the organization. AddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.AddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.AddOrganizationMemberResponse], error) // UpdateOrganizationMember update the user's membership information in the organization. UpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationMemberResponse], error) // RemoveOrganizationMember remove the role of an user in the organization. RemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationMemberResponse], error) // SetOrganizationMember sets the role of a user in the organization. SetOrganizationMember(context.Context, *connect_go.Request[v1alpha1.SetOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.SetOrganizationMemberResponse], error) // GetOrganizationSettings gets the settings of an organization, including organization base roles. GetOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.GetOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.GetOrganizationSettingsResponse], error) // UpdateOrganizationSettings update the organization settings including base roles. UpdateOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationSettingsResponse], error) // AddOrganizationGroup adds an IdP Group to the organization. AddOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.AddOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.AddOrganizationGroupResponse], error) // RemoveOrganizationGroup removes an IdP Group from the organization. RemoveOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationGroupResponse], error) }
OrganizationServiceClient is a client for the buf.alpha.registry.v1alpha1.OrganizationService service.
func NewOrganizationServiceClient ¶
func NewOrganizationServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) OrganizationServiceClient
NewOrganizationServiceClient constructs a client for the buf.alpha.registry.v1alpha1.OrganizationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type OrganizationServiceHandler ¶
type OrganizationServiceHandler interface { // GetOrganization gets a organization by ID. GetOrganization(context.Context, *connect_go.Request[v1alpha1.GetOrganizationRequest]) (*connect_go.Response[v1alpha1.GetOrganizationResponse], error) // GetOrganizationByName gets a organization by name. GetOrganizationByName(context.Context, *connect_go.Request[v1alpha1.GetOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.GetOrganizationByNameResponse], error) // ListOrganizations lists all organizations. ListOrganizations(context.Context, *connect_go.Request[v1alpha1.ListOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationsResponse], error) // ListUserOrganizations lists all organizations a user is member of. ListUserOrganizations(context.Context, *connect_go.Request[v1alpha1.ListUserOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListUserOrganizationsResponse], error) // CreateOrganization creates a new organization. CreateOrganization(context.Context, *connect_go.Request[v1alpha1.CreateOrganizationRequest]) (*connect_go.Response[v1alpha1.CreateOrganizationResponse], error) // DeleteOrganization deletes a organization. DeleteOrganization(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationResponse], error) // DeleteOrganizationByName deletes a organization by name. DeleteOrganizationByName(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationByNameResponse], error) // AddOrganizationMember add a role to an user in the organization. AddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.AddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.AddOrganizationMemberResponse], error) // UpdateOrganizationMember update the user's membership information in the organization. UpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationMemberResponse], error) // RemoveOrganizationMember remove the role of an user in the organization. RemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationMemberResponse], error) // SetOrganizationMember sets the role of a user in the organization. SetOrganizationMember(context.Context, *connect_go.Request[v1alpha1.SetOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.SetOrganizationMemberResponse], error) // GetOrganizationSettings gets the settings of an organization, including organization base roles. GetOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.GetOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.GetOrganizationSettingsResponse], error) // UpdateOrganizationSettings update the organization settings including base roles. UpdateOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationSettingsResponse], error) // AddOrganizationGroup adds an IdP Group to the organization. AddOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.AddOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.AddOrganizationGroupResponse], error) // RemoveOrganizationGroup removes an IdP Group from the organization. RemoveOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationGroupResponse], error) }
OrganizationServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.OrganizationService service.
type OwnerServiceClient ¶
type OwnerServiceClient interface { // GetOwnerByName takes an owner name and returns the owner as // either a user or organization. GetOwnerByName(context.Context, *connect_go.Request[v1alpha1.GetOwnerByNameRequest]) (*connect_go.Response[v1alpha1.GetOwnerByNameResponse], error) }
OwnerServiceClient is a client for the buf.alpha.registry.v1alpha1.OwnerService service.
func NewOwnerServiceClient ¶
func NewOwnerServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) OwnerServiceClient
NewOwnerServiceClient constructs a client for the buf.alpha.registry.v1alpha1.OwnerService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type OwnerServiceHandler ¶
type OwnerServiceHandler interface { // GetOwnerByName takes an owner name and returns the owner as // either a user or organization. GetOwnerByName(context.Context, *connect_go.Request[v1alpha1.GetOwnerByNameRequest]) (*connect_go.Response[v1alpha1.GetOwnerByNameResponse], error) }
OwnerServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.OwnerService service.
type PluginCurationServiceClient ¶ added in v1.7.0
type PluginCurationServiceClient interface { // ListCuratedPlugins returns all the curated plugins available. ListCuratedPlugins(context.Context, *connect_go.Request[v1alpha1.ListCuratedPluginsRequest]) (*connect_go.Response[v1alpha1.ListCuratedPluginsResponse], error) // CreateCuratedPlugin creates a new curated plugin. CreateCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.CreateCuratedPluginRequest]) (*connect_go.Response[v1alpha1.CreateCuratedPluginResponse], error) // GetLatestCuratedPlugin returns the latest version of a plugin matching given parameters. GetLatestCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.GetLatestCuratedPluginRequest]) (*connect_go.Response[v1alpha1.GetLatestCuratedPluginResponse], error) // DeleteCuratedPlugin deletes a curated plugin based on the given parameters. DeleteCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.DeleteCuratedPluginRequest]) (*connect_go.Response[v1alpha1.DeleteCuratedPluginResponse], error) }
PluginCurationServiceClient is a client for the buf.alpha.registry.v1alpha1.PluginCurationService service.
func NewPluginCurationServiceClient ¶ added in v1.7.0
func NewPluginCurationServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) PluginCurationServiceClient
NewPluginCurationServiceClient constructs a client for the buf.alpha.registry.v1alpha1.PluginCurationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PluginCurationServiceHandler ¶ added in v1.7.0
type PluginCurationServiceHandler interface { // ListCuratedPlugins returns all the curated plugins available. ListCuratedPlugins(context.Context, *connect_go.Request[v1alpha1.ListCuratedPluginsRequest]) (*connect_go.Response[v1alpha1.ListCuratedPluginsResponse], error) // CreateCuratedPlugin creates a new curated plugin. CreateCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.CreateCuratedPluginRequest]) (*connect_go.Response[v1alpha1.CreateCuratedPluginResponse], error) // GetLatestCuratedPlugin returns the latest version of a plugin matching given parameters. GetLatestCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.GetLatestCuratedPluginRequest]) (*connect_go.Response[v1alpha1.GetLatestCuratedPluginResponse], error) // DeleteCuratedPlugin deletes a curated plugin based on the given parameters. DeleteCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.DeleteCuratedPluginRequest]) (*connect_go.Response[v1alpha1.DeleteCuratedPluginResponse], error) }
PluginCurationServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.PluginCurationService service.
type PluginServiceClient ¶
type PluginServiceClient interface { // ListPlugins returns all the plugins available to the user. This includes // public plugins, those uploaded to organizations the user is part of, // and any plugins uploaded directly by the user. ListPlugins(context.Context, *connect_go.Request[v1alpha1.ListPluginsRequest]) (*connect_go.Response[v1alpha1.ListPluginsResponse], error) // ListUserPlugins lists all plugins belonging to a user. ListUserPlugins(context.Context, *connect_go.Request[v1alpha1.ListUserPluginsRequest]) (*connect_go.Response[v1alpha1.ListUserPluginsResponse], error) // ListOrganizationPlugins lists all plugins for an organization. ListOrganizationPlugins(context.Context, *connect_go.Request[v1alpha1.ListOrganizationPluginsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationPluginsResponse], error) // GetPluginVersion returns the plugin version, if found. GetPluginVersion(context.Context, *connect_go.Request[v1alpha1.GetPluginVersionRequest]) (*connect_go.Response[v1alpha1.GetPluginVersionResponse], error) // ListPluginVersions lists all the versions available for the specified plugin. ListPluginVersions(context.Context, *connect_go.Request[v1alpha1.ListPluginVersionsRequest]) (*connect_go.Response[v1alpha1.ListPluginVersionsResponse], error) // CreatePlugin creates a new plugin. CreatePlugin(context.Context, *connect_go.Request[v1alpha1.CreatePluginRequest]) (*connect_go.Response[v1alpha1.CreatePluginResponse], error) // GetPlugin returns the plugin, if found. GetPlugin(context.Context, *connect_go.Request[v1alpha1.GetPluginRequest]) (*connect_go.Response[v1alpha1.GetPluginResponse], error) // DeletePlugin deletes the plugin, if it exists. Note that deleting // a plugin may cause breaking changes for templates using that plugin, // and should be done with extreme care. DeletePlugin(context.Context, *connect_go.Request[v1alpha1.DeletePluginRequest]) (*connect_go.Response[v1alpha1.DeletePluginResponse], error) // SetPluginContributor sets the role of a user in the plugin. SetPluginContributor(context.Context, *connect_go.Request[v1alpha1.SetPluginContributorRequest]) (*connect_go.Response[v1alpha1.SetPluginContributorResponse], error) // ListPluginContributors returns the list of contributors that has an explicit role against the plugin. // This does not include users who have implicit roles against the plugin, unless they have also been // assigned a role explicitly. ListPluginContributors(context.Context, *connect_go.Request[v1alpha1.ListPluginContributorsRequest]) (*connect_go.Response[v1alpha1.ListPluginContributorsResponse], error) // DeprecatePlugin deprecates the plugin, if found. DeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.DeprecatePluginRequest]) (*connect_go.Response[v1alpha1.DeprecatePluginResponse], error) // UndeprecatePlugin makes the plugin not deprecated and removes any deprecation_message. UndeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.UndeprecatePluginRequest]) (*connect_go.Response[v1alpha1.UndeprecatePluginResponse], error) // GetTemplate returns the template, if found. GetTemplate(context.Context, *connect_go.Request[v1alpha1.GetTemplateRequest]) (*connect_go.Response[v1alpha1.GetTemplateResponse], error) // ListTemplates returns all the templates available to the user. This includes // public templates, those owned by organizations the user is part of, // and any created directly by the user. ListTemplates(context.Context, *connect_go.Request[v1alpha1.ListTemplatesRequest]) (*connect_go.Response[v1alpha1.ListTemplatesResponse], error) // ListTemplatesUserCanAccess is like ListTemplates, but does not return // public templates. ListTemplatesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListTemplatesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListTemplatesUserCanAccessResponse], error) // ListUserPlugins lists all templates belonging to a user. ListUserTemplates(context.Context, *connect_go.Request[v1alpha1.ListUserTemplatesRequest]) (*connect_go.Response[v1alpha1.ListUserTemplatesResponse], error) // ListOrganizationTemplates lists all templates for an organization. ListOrganizationTemplates(context.Context, *connect_go.Request[v1alpha1.ListOrganizationTemplatesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationTemplatesResponse], error) // GetTemplateVersion returns the template version, if found. GetTemplateVersion(context.Context, *connect_go.Request[v1alpha1.GetTemplateVersionRequest]) (*connect_go.Response[v1alpha1.GetTemplateVersionResponse], error) // ListTemplateVersions lists all the template versions available for the specified template. ListTemplateVersions(context.Context, *connect_go.Request[v1alpha1.ListTemplateVersionsRequest]) (*connect_go.Response[v1alpha1.ListTemplateVersionsResponse], error) // CreateTemplate creates a new template. CreateTemplate(context.Context, *connect_go.Request[v1alpha1.CreateTemplateRequest]) (*connect_go.Response[v1alpha1.CreateTemplateResponse], error) // DeleteTemplate deletes the template, if it exists. DeleteTemplate(context.Context, *connect_go.Request[v1alpha1.DeleteTemplateRequest]) (*connect_go.Response[v1alpha1.DeleteTemplateResponse], error) // CreateTemplateVersion creates a new template version. CreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.CreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.CreateTemplateVersionResponse], error) // SetTemplateContributor sets the role of a user in the template. SetTemplateContributor(context.Context, *connect_go.Request[v1alpha1.SetTemplateContributorRequest]) (*connect_go.Response[v1alpha1.SetTemplateContributorResponse], error) // ListTemplateContributors returns the list of contributors that has an explicit role against the template. // This does not include users who have implicit roles against the template, unless they have also been // assigned a role explicitly. ListTemplateContributors(context.Context, *connect_go.Request[v1alpha1.ListTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.ListTemplateContributorsResponse], error) // DeprecateTemplate deprecates the template, if found. DeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.DeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.DeprecateTemplateResponse], error) // UndeprecateTemplate makes the template not deprecated and removes any deprecation_message. UndeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.UndeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.UndeprecateTemplateResponse], error) }
PluginServiceClient is a client for the buf.alpha.registry.v1alpha1.PluginService service.
func NewPluginServiceClient ¶
func NewPluginServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) PluginServiceClient
NewPluginServiceClient constructs a client for the buf.alpha.registry.v1alpha1.PluginService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PluginServiceHandler ¶
type PluginServiceHandler interface { // ListPlugins returns all the plugins available to the user. This includes // public plugins, those uploaded to organizations the user is part of, // and any plugins uploaded directly by the user. ListPlugins(context.Context, *connect_go.Request[v1alpha1.ListPluginsRequest]) (*connect_go.Response[v1alpha1.ListPluginsResponse], error) // ListUserPlugins lists all plugins belonging to a user. ListUserPlugins(context.Context, *connect_go.Request[v1alpha1.ListUserPluginsRequest]) (*connect_go.Response[v1alpha1.ListUserPluginsResponse], error) // ListOrganizationPlugins lists all plugins for an organization. ListOrganizationPlugins(context.Context, *connect_go.Request[v1alpha1.ListOrganizationPluginsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationPluginsResponse], error) // GetPluginVersion returns the plugin version, if found. GetPluginVersion(context.Context, *connect_go.Request[v1alpha1.GetPluginVersionRequest]) (*connect_go.Response[v1alpha1.GetPluginVersionResponse], error) // ListPluginVersions lists all the versions available for the specified plugin. ListPluginVersions(context.Context, *connect_go.Request[v1alpha1.ListPluginVersionsRequest]) (*connect_go.Response[v1alpha1.ListPluginVersionsResponse], error) // CreatePlugin creates a new plugin. CreatePlugin(context.Context, *connect_go.Request[v1alpha1.CreatePluginRequest]) (*connect_go.Response[v1alpha1.CreatePluginResponse], error) // GetPlugin returns the plugin, if found. GetPlugin(context.Context, *connect_go.Request[v1alpha1.GetPluginRequest]) (*connect_go.Response[v1alpha1.GetPluginResponse], error) // DeletePlugin deletes the plugin, if it exists. Note that deleting // a plugin may cause breaking changes for templates using that plugin, // and should be done with extreme care. DeletePlugin(context.Context, *connect_go.Request[v1alpha1.DeletePluginRequest]) (*connect_go.Response[v1alpha1.DeletePluginResponse], error) // SetPluginContributor sets the role of a user in the plugin. SetPluginContributor(context.Context, *connect_go.Request[v1alpha1.SetPluginContributorRequest]) (*connect_go.Response[v1alpha1.SetPluginContributorResponse], error) // ListPluginContributors returns the list of contributors that has an explicit role against the plugin. // This does not include users who have implicit roles against the plugin, unless they have also been // assigned a role explicitly. ListPluginContributors(context.Context, *connect_go.Request[v1alpha1.ListPluginContributorsRequest]) (*connect_go.Response[v1alpha1.ListPluginContributorsResponse], error) // DeprecatePlugin deprecates the plugin, if found. DeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.DeprecatePluginRequest]) (*connect_go.Response[v1alpha1.DeprecatePluginResponse], error) // UndeprecatePlugin makes the plugin not deprecated and removes any deprecation_message. UndeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.UndeprecatePluginRequest]) (*connect_go.Response[v1alpha1.UndeprecatePluginResponse], error) // GetTemplate returns the template, if found. GetTemplate(context.Context, *connect_go.Request[v1alpha1.GetTemplateRequest]) (*connect_go.Response[v1alpha1.GetTemplateResponse], error) // ListTemplates returns all the templates available to the user. This includes // public templates, those owned by organizations the user is part of, // and any created directly by the user. ListTemplates(context.Context, *connect_go.Request[v1alpha1.ListTemplatesRequest]) (*connect_go.Response[v1alpha1.ListTemplatesResponse], error) // ListTemplatesUserCanAccess is like ListTemplates, but does not return // public templates. ListTemplatesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListTemplatesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListTemplatesUserCanAccessResponse], error) // ListUserPlugins lists all templates belonging to a user. ListUserTemplates(context.Context, *connect_go.Request[v1alpha1.ListUserTemplatesRequest]) (*connect_go.Response[v1alpha1.ListUserTemplatesResponse], error) // ListOrganizationTemplates lists all templates for an organization. ListOrganizationTemplates(context.Context, *connect_go.Request[v1alpha1.ListOrganizationTemplatesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationTemplatesResponse], error) // GetTemplateVersion returns the template version, if found. GetTemplateVersion(context.Context, *connect_go.Request[v1alpha1.GetTemplateVersionRequest]) (*connect_go.Response[v1alpha1.GetTemplateVersionResponse], error) // ListTemplateVersions lists all the template versions available for the specified template. ListTemplateVersions(context.Context, *connect_go.Request[v1alpha1.ListTemplateVersionsRequest]) (*connect_go.Response[v1alpha1.ListTemplateVersionsResponse], error) // CreateTemplate creates a new template. CreateTemplate(context.Context, *connect_go.Request[v1alpha1.CreateTemplateRequest]) (*connect_go.Response[v1alpha1.CreateTemplateResponse], error) // DeleteTemplate deletes the template, if it exists. DeleteTemplate(context.Context, *connect_go.Request[v1alpha1.DeleteTemplateRequest]) (*connect_go.Response[v1alpha1.DeleteTemplateResponse], error) // CreateTemplateVersion creates a new template version. CreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.CreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.CreateTemplateVersionResponse], error) // SetTemplateContributor sets the role of a user in the template. SetTemplateContributor(context.Context, *connect_go.Request[v1alpha1.SetTemplateContributorRequest]) (*connect_go.Response[v1alpha1.SetTemplateContributorResponse], error) // ListTemplateContributors returns the list of contributors that has an explicit role against the template. // This does not include users who have implicit roles against the template, unless they have also been // assigned a role explicitly. ListTemplateContributors(context.Context, *connect_go.Request[v1alpha1.ListTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.ListTemplateContributorsResponse], error) // DeprecateTemplate deprecates the template, if found. DeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.DeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.DeprecateTemplateResponse], error) // UndeprecateTemplate makes the template not deprecated and removes any deprecation_message. UndeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.UndeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.UndeprecateTemplateResponse], error) }
PluginServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.PluginService service.
type PushServiceClient ¶
type PushServiceClient interface { // Push pushes. // NOTE: Newer clients should use PushManifestAndBlobs. Push(context.Context, *connect_go.Request[v1alpha1.PushRequest]) (*connect_go.Response[v1alpha1.PushResponse], error) // PushManifestAndBlobs pushes a module by encoding it in a manifest and blobs format. PushManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.PushManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.PushManifestAndBlobsResponse], error) }
PushServiceClient is a client for the buf.alpha.registry.v1alpha1.PushService service.
func NewPushServiceClient ¶
func NewPushServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) PushServiceClient
NewPushServiceClient constructs a client for the buf.alpha.registry.v1alpha1.PushService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PushServiceHandler ¶
type PushServiceHandler interface { // Push pushes. // NOTE: Newer clients should use PushManifestAndBlobs. Push(context.Context, *connect_go.Request[v1alpha1.PushRequest]) (*connect_go.Response[v1alpha1.PushResponse], error) // PushManifestAndBlobs pushes a module by encoding it in a manifest and blobs format. PushManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.PushManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.PushManifestAndBlobsResponse], error) }
PushServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.PushService service.
type RecommendationServiceClient ¶
type RecommendationServiceClient interface { // RecommendedRepositories returns a list of recommended repositories. RecommendedRepositories(context.Context, *connect_go.Request[v1alpha1.RecommendedRepositoriesRequest]) (*connect_go.Response[v1alpha1.RecommendedRepositoriesResponse], error) // RecommendedTemplates returns a list of recommended templates. // // Deprecated: do not use. RecommendedTemplates(context.Context, *connect_go.Request[v1alpha1.RecommendedTemplatesRequest]) (*connect_go.Response[v1alpha1.RecommendedTemplatesResponse], error) // ListRecommendedResources returns a list of recommended resources. ListRecommendedResources(context.Context, *connect_go.Request[v1alpha1.ListRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.ListRecommendedResourcesResponse], error) // SetRecommendedResources set the list of recommended resources in the server. SetRecommendedResources(context.Context, *connect_go.Request[v1alpha1.SetRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.SetRecommendedResourcesResponse], error) }
RecommendationServiceClient is a client for the buf.alpha.registry.v1alpha1.RecommendationService service.
func NewRecommendationServiceClient ¶
func NewRecommendationServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RecommendationServiceClient
NewRecommendationServiceClient constructs a client for the buf.alpha.registry.v1alpha1.RecommendationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type RecommendationServiceHandler ¶
type RecommendationServiceHandler interface { // RecommendedRepositories returns a list of recommended repositories. RecommendedRepositories(context.Context, *connect_go.Request[v1alpha1.RecommendedRepositoriesRequest]) (*connect_go.Response[v1alpha1.RecommendedRepositoriesResponse], error) // RecommendedTemplates returns a list of recommended templates. // // Deprecated: do not use. RecommendedTemplates(context.Context, *connect_go.Request[v1alpha1.RecommendedTemplatesRequest]) (*connect_go.Response[v1alpha1.RecommendedTemplatesResponse], error) // ListRecommendedResources returns a list of recommended resources. ListRecommendedResources(context.Context, *connect_go.Request[v1alpha1.ListRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.ListRecommendedResourcesResponse], error) // SetRecommendedResources set the list of recommended resources in the server. SetRecommendedResources(context.Context, *connect_go.Request[v1alpha1.SetRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.SetRecommendedResourcesResponse], error) }
RecommendationServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.RecommendationService service.
type ReferenceServiceClient ¶
type ReferenceServiceClient interface { // GetReferenceByName takes a reference name and returns the // reference either as 'main', a tag, or commit. GetReferenceByName(context.Context, *connect_go.Request[v1alpha1.GetReferenceByNameRequest]) (*connect_go.Response[v1alpha1.GetReferenceByNameResponse], error) }
ReferenceServiceClient is a client for the buf.alpha.registry.v1alpha1.ReferenceService service.
func NewReferenceServiceClient ¶
func NewReferenceServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ReferenceServiceClient
NewReferenceServiceClient constructs a client for the buf.alpha.registry.v1alpha1.ReferenceService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ReferenceServiceHandler ¶
type ReferenceServiceHandler interface { // GetReferenceByName takes a reference name and returns the // reference either as 'main', a tag, or commit. GetReferenceByName(context.Context, *connect_go.Request[v1alpha1.GetReferenceByNameRequest]) (*connect_go.Response[v1alpha1.GetReferenceByNameResponse], error) }
ReferenceServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.ReferenceService service.
type RepositoryCommitServiceClient ¶
type RepositoryCommitServiceClient interface { // ListRepositoryCommitsByBranch lists the repository commits associated // with a repository branch on a repository, ordered by their create time. // // Deprecated: do not use. ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) // ListRepositoryCommitsByReference returns repository commits up-to and including // the provided reference. ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) // GetRepositoryCommitByReference returns the repository commit matching // the provided reference, if it exists. GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) // GetRepositoryCommitBySequenceId returns the repository commit matching // the provided sequence ID and branch, if it exists. GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) // ListRepositoryDraftCommits lists draft commits in a repository. ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) // DeleteRepositoryDraftCommit deletes a draft. DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) }
RepositoryCommitServiceClient is a client for the buf.alpha.registry.v1alpha1.RepositoryCommitService service.
func NewRepositoryCommitServiceClient ¶
func NewRepositoryCommitServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RepositoryCommitServiceClient
NewRepositoryCommitServiceClient constructs a client for the buf.alpha.registry.v1alpha1.RepositoryCommitService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type RepositoryCommitServiceHandler ¶
type RepositoryCommitServiceHandler interface { // ListRepositoryCommitsByBranch lists the repository commits associated // with a repository branch on a repository, ordered by their create time. // // Deprecated: do not use. ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) // ListRepositoryCommitsByReference returns repository commits up-to and including // the provided reference. ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) // GetRepositoryCommitByReference returns the repository commit matching // the provided reference, if it exists. GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) // GetRepositoryCommitBySequenceId returns the repository commit matching // the provided sequence ID and branch, if it exists. GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) // ListRepositoryDraftCommits lists draft commits in a repository. ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) // DeleteRepositoryDraftCommit deletes a draft. DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) }
RepositoryCommitServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.RepositoryCommitService service.
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // GetRepository gets a repository by ID. GetRepository(context.Context, *connect_go.Request[v1alpha1.GetRepositoryRequest]) (*connect_go.Response[v1alpha1.GetRepositoryResponse], error) // GetRepositoryByFullName gets a repository by full name. GetRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoryByFullNameResponse], error) // ListRepositories lists all repositories. ListRepositories(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesResponse], error) // ListUserRepositories lists all repositories belonging to a user. ListUserRepositories(context.Context, *connect_go.Request[v1alpha1.ListUserRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListUserRepositoriesResponse], error) // ListRepositoriesUserCanAccess lists all repositories a user can access. ListRepositoriesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesUserCanAccessResponse], error) // ListOrganizationRepositories lists all repositories for an organization. ListOrganizationRepositories(context.Context, *connect_go.Request[v1alpha1.ListOrganizationRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationRepositoriesResponse], error) // CreateRepositoryByFullName creates a new repository by full name. CreateRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryByFullNameResponse], error) // DeleteRepository deletes a repository. DeleteRepository(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryResponse], error) // DeleteRepositoryByFullName deletes a repository by full name. DeleteRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryByFullNameResponse], error) // DeprecateRepositoryByName deprecates the repository. DeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.DeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.DeprecateRepositoryByNameResponse], error) // UndeprecateRepositoryByName makes the repository not deprecated and removes any deprecation_message. UndeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.UndeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.UndeprecateRepositoryByNameResponse], error) // GetRepositoriesByFullName gets repositories by full name. Response order is unspecified. // Errors if any of the repositories don't exist or the caller does not have access to any of the repositories. GetRepositoriesByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesByFullNameResponse], error) // SetRepositoryContributor sets the role of a user in the repository. SetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.SetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.SetRepositoryContributorResponse], error) // ListRepositoryContributors returns the list of contributors that has an explicit role against the repository. // This does not include users who have implicit roles against the repository, unless they have also been // assigned a role explicitly. ListRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.ListRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryContributorsResponse], error) // GetRepositoryContributor returns the contributor information of a user in a repository. GetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.GetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.GetRepositoryContributorResponse], error) // GetRepositorySettings gets the settings of a repository. GetRepositorySettings(context.Context, *connect_go.Request[v1alpha1.GetRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.GetRepositorySettingsResponse], error) // UpdateRepositorySettingsByName updates the settings of a repository. UpdateRepositorySettingsByName(context.Context, *connect_go.Request[v1alpha1.UpdateRepositorySettingsByNameRequest]) (*connect_go.Response[v1alpha1.UpdateRepositorySettingsByNameResponse], error) // GetRepositoriesMetadata gets the metadata of the repositories in the request, the length of repositories in the // request should match the length of the metadata in the response, and the order of repositories in the response // should match the order of the metadata in the request. GetRepositoriesMetadata(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesMetadataRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesMetadataResponse], error) }
RepositoryServiceClient is a client for the buf.alpha.registry.v1alpha1.RepositoryService service.
func NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RepositoryServiceClient
NewRepositoryServiceClient constructs a client for the buf.alpha.registry.v1alpha1.RepositoryService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type RepositoryServiceHandler ¶
type RepositoryServiceHandler interface { // GetRepository gets a repository by ID. GetRepository(context.Context, *connect_go.Request[v1alpha1.GetRepositoryRequest]) (*connect_go.Response[v1alpha1.GetRepositoryResponse], error) // GetRepositoryByFullName gets a repository by full name. GetRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoryByFullNameResponse], error) // ListRepositories lists all repositories. ListRepositories(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesResponse], error) // ListUserRepositories lists all repositories belonging to a user. ListUserRepositories(context.Context, *connect_go.Request[v1alpha1.ListUserRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListUserRepositoriesResponse], error) // ListRepositoriesUserCanAccess lists all repositories a user can access. ListRepositoriesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesUserCanAccessResponse], error) // ListOrganizationRepositories lists all repositories for an organization. ListOrganizationRepositories(context.Context, *connect_go.Request[v1alpha1.ListOrganizationRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationRepositoriesResponse], error) // CreateRepositoryByFullName creates a new repository by full name. CreateRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryByFullNameResponse], error) // DeleteRepository deletes a repository. DeleteRepository(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryResponse], error) // DeleteRepositoryByFullName deletes a repository by full name. DeleteRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryByFullNameResponse], error) // DeprecateRepositoryByName deprecates the repository. DeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.DeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.DeprecateRepositoryByNameResponse], error) // UndeprecateRepositoryByName makes the repository not deprecated and removes any deprecation_message. UndeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.UndeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.UndeprecateRepositoryByNameResponse], error) // GetRepositoriesByFullName gets repositories by full name. Response order is unspecified. // Errors if any of the repositories don't exist or the caller does not have access to any of the repositories. GetRepositoriesByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesByFullNameResponse], error) // SetRepositoryContributor sets the role of a user in the repository. SetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.SetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.SetRepositoryContributorResponse], error) // ListRepositoryContributors returns the list of contributors that has an explicit role against the repository. // This does not include users who have implicit roles against the repository, unless they have also been // assigned a role explicitly. ListRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.ListRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryContributorsResponse], error) // GetRepositoryContributor returns the contributor information of a user in a repository. GetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.GetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.GetRepositoryContributorResponse], error) // GetRepositorySettings gets the settings of a repository. GetRepositorySettings(context.Context, *connect_go.Request[v1alpha1.GetRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.GetRepositorySettingsResponse], error) // UpdateRepositorySettingsByName updates the settings of a repository. UpdateRepositorySettingsByName(context.Context, *connect_go.Request[v1alpha1.UpdateRepositorySettingsByNameRequest]) (*connect_go.Response[v1alpha1.UpdateRepositorySettingsByNameResponse], error) // GetRepositoriesMetadata gets the metadata of the repositories in the request, the length of repositories in the // request should match the length of the metadata in the response, and the order of repositories in the response // should match the order of the metadata in the request. GetRepositoriesMetadata(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesMetadataRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesMetadataResponse], error) }
RepositoryServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.RepositoryService service.
type RepositoryTagServiceClient ¶
type RepositoryTagServiceClient interface { // CreateRepositoryTag creates a new repository tag. CreateRepositoryTag(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryTagRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryTagResponse], error) // ListRepositoryTags lists the repository tags associated with a Repository. ListRepositoryTags(context.Context, *connect_go.Request[v1alpha1.ListRepositoryTagsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryTagsResponse], error) }
RepositoryTagServiceClient is a client for the buf.alpha.registry.v1alpha1.RepositoryTagService service.
func NewRepositoryTagServiceClient ¶
func NewRepositoryTagServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RepositoryTagServiceClient
NewRepositoryTagServiceClient constructs a client for the buf.alpha.registry.v1alpha1.RepositoryTagService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type RepositoryTagServiceHandler ¶
type RepositoryTagServiceHandler interface { // CreateRepositoryTag creates a new repository tag. CreateRepositoryTag(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryTagRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryTagResponse], error) // ListRepositoryTags lists the repository tags associated with a Repository. ListRepositoryTags(context.Context, *connect_go.Request[v1alpha1.ListRepositoryTagsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryTagsResponse], error) }
RepositoryTagServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.RepositoryTagService service.
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(context.Context, *connect_go.Request[v1alpha1.GetModulePinsRequest]) (*connect_go.Response[v1alpha1.GetModulePinsResponse], error) }
ResolveServiceClient is a client for the buf.alpha.registry.v1alpha1.ResolveService service.
func NewResolveServiceClient ¶
func NewResolveServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ResolveServiceClient
NewResolveServiceClient constructs a client for the buf.alpha.registry.v1alpha1.ResolveService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ResolveServiceHandler ¶
type ResolveServiceHandler 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, *connect_go.Request[v1alpha1.GetModulePinsRequest]) (*connect_go.Response[v1alpha1.GetModulePinsResponse], error) }
ResolveServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.ResolveService service.
type ResourceServiceClient ¶ added in v1.9.0
type ResourceServiceClient interface { // GetResourceByName takes a resource name and returns the // resource either as a repository or a plugin. GetResourceByName(context.Context, *connect_go.Request[v1alpha1.GetResourceByNameRequest]) (*connect_go.Response[v1alpha1.GetResourceByNameResponse], error) }
ResourceServiceClient is a client for the buf.alpha.registry.v1alpha1.ResourceService service.
func NewResourceServiceClient ¶ added in v1.9.0
func NewResourceServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ResourceServiceClient
NewResourceServiceClient constructs a client for the buf.alpha.registry.v1alpha1.ResourceService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ResourceServiceHandler ¶ added in v1.9.0
type ResourceServiceHandler interface { // GetResourceByName takes a resource name and returns the // resource either as a repository or a plugin. GetResourceByName(context.Context, *connect_go.Request[v1alpha1.GetResourceByNameRequest]) (*connect_go.Response[v1alpha1.GetResourceByNameResponse], error) }
ResourceServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.ResourceService service.
type SchemaServiceClient ¶ added in v1.10.0
type SchemaServiceClient interface { // GetSchema allows the caller to download a schema for one or more requested // types, RPC services, or RPC methods. GetSchema(context.Context, *connect_go.Request[v1alpha1.GetSchemaRequest]) (*connect_go.Response[v1alpha1.GetSchemaResponse], error) // ConvertMessage allows the caller to convert a given message data blob from // one format to another by referring to a type schema for the blob. ConvertMessage(context.Context, *connect_go.Request[v1alpha1.ConvertMessageRequest]) (*connect_go.Response[v1alpha1.ConvertMessageResponse], error) }
SchemaServiceClient is a client for the buf.alpha.registry.v1alpha1.SchemaService service.
func NewSchemaServiceClient ¶ added in v1.10.0
func NewSchemaServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) SchemaServiceClient
NewSchemaServiceClient constructs a client for the buf.alpha.registry.v1alpha1.SchemaService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SchemaServiceHandler ¶ added in v1.10.0
type SchemaServiceHandler interface { // GetSchema allows the caller to download a schema for one or more requested // types, RPC services, or RPC methods. GetSchema(context.Context, *connect_go.Request[v1alpha1.GetSchemaRequest]) (*connect_go.Response[v1alpha1.GetSchemaResponse], error) // ConvertMessage allows the caller to convert a given message data blob from // one format to another by referring to a type schema for the blob. ConvertMessage(context.Context, *connect_go.Request[v1alpha1.ConvertMessageRequest]) (*connect_go.Response[v1alpha1.ConvertMessageResponse], error) }
SchemaServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.SchemaService service.
type SearchServiceClient ¶
type SearchServiceClient interface { // Search searches the BSR. Search(context.Context, *connect_go.Request[v1alpha1.SearchRequest]) (*connect_go.Response[v1alpha1.SearchResponse], error) // SearchTag searches for tags in a repository SearchTag(context.Context, *connect_go.Request[v1alpha1.SearchTagRequest]) (*connect_go.Response[v1alpha1.SearchTagResponse], error) // SearchDraft searches for drafts in a repository SearchDraft(context.Context, *connect_go.Request[v1alpha1.SearchDraftRequest]) (*connect_go.Response[v1alpha1.SearchDraftResponse], error) }
SearchServiceClient is a client for the buf.alpha.registry.v1alpha1.SearchService service.
func NewSearchServiceClient ¶
func NewSearchServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) SearchServiceClient
NewSearchServiceClient constructs a client for the buf.alpha.registry.v1alpha1.SearchService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SearchServiceHandler ¶
type SearchServiceHandler interface { // Search searches the BSR. Search(context.Context, *connect_go.Request[v1alpha1.SearchRequest]) (*connect_go.Response[v1alpha1.SearchResponse], error) // SearchTag searches for tags in a repository SearchTag(context.Context, *connect_go.Request[v1alpha1.SearchTagRequest]) (*connect_go.Response[v1alpha1.SearchTagResponse], error) // SearchDraft searches for drafts in a repository SearchDraft(context.Context, *connect_go.Request[v1alpha1.SearchDraftRequest]) (*connect_go.Response[v1alpha1.SearchDraftResponse], error) }
SearchServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.SearchService service.
type StudioRequestServiceClient ¶ added in v1.8.0
type StudioRequestServiceClient interface { // CreateStudioRequest registers a favorite Studio Requests to the caller's // BSR profile. CreateStudioRequest(context.Context, *connect_go.Request[v1alpha1.CreateStudioRequestRequest]) (*connect_go.Response[v1alpha1.CreateStudioRequestResponse], error) // RenameStudioRequest renames an existing Studio Request. RenameStudioRequest(context.Context, *connect_go.Request[v1alpha1.RenameStudioRequestRequest]) (*connect_go.Response[v1alpha1.RenameStudioRequestResponse], error) // DeleteStudioRequest removes a favorite Studio Request from the caller's BSR // profile. DeleteStudioRequest(context.Context, *connect_go.Request[v1alpha1.DeleteStudioRequestRequest]) (*connect_go.Response[v1alpha1.DeleteStudioRequestResponse], error) // ListStudioRequests shows the caller's favorited Studio Requests. ListStudioRequests(context.Context, *connect_go.Request[v1alpha1.ListStudioRequestsRequest]) (*connect_go.Response[v1alpha1.ListStudioRequestsResponse], error) }
StudioRequestServiceClient is a client for the buf.alpha.registry.v1alpha1.StudioRequestService service.
func NewStudioRequestServiceClient ¶ added in v1.8.0
func NewStudioRequestServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) StudioRequestServiceClient
NewStudioRequestServiceClient constructs a client for the buf.alpha.registry.v1alpha1.StudioRequestService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type StudioRequestServiceHandler ¶ added in v1.8.0
type StudioRequestServiceHandler interface { // CreateStudioRequest registers a favorite Studio Requests to the caller's // BSR profile. CreateStudioRequest(context.Context, *connect_go.Request[v1alpha1.CreateStudioRequestRequest]) (*connect_go.Response[v1alpha1.CreateStudioRequestResponse], error) // RenameStudioRequest renames an existing Studio Request. RenameStudioRequest(context.Context, *connect_go.Request[v1alpha1.RenameStudioRequestRequest]) (*connect_go.Response[v1alpha1.RenameStudioRequestResponse], error) // DeleteStudioRequest removes a favorite Studio Request from the caller's BSR // profile. DeleteStudioRequest(context.Context, *connect_go.Request[v1alpha1.DeleteStudioRequestRequest]) (*connect_go.Response[v1alpha1.DeleteStudioRequestResponse], error) // ListStudioRequests shows the caller's favorited Studio Requests. ListStudioRequests(context.Context, *connect_go.Request[v1alpha1.ListStudioRequestsRequest]) (*connect_go.Response[v1alpha1.ListStudioRequestsResponse], error) }
StudioRequestServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.StudioRequestService service.
type StudioServiceClient ¶
type StudioServiceClient interface { // ListStudioAgentPresets returns a list of agent presets in the server. ListStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.ListStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.ListStudioAgentPresetsResponse], error) // SetStudioAgentPresets sets the list of agent presets in the server. SetStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.SetStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.SetStudioAgentPresetsResponse], error) }
StudioServiceClient is a client for the buf.alpha.registry.v1alpha1.StudioService service.
func NewStudioServiceClient ¶
func NewStudioServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) StudioServiceClient
NewStudioServiceClient constructs a client for the buf.alpha.registry.v1alpha1.StudioService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type StudioServiceHandler ¶
type StudioServiceHandler interface { // ListStudioAgentPresets returns a list of agent presets in the server. ListStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.ListStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.ListStudioAgentPresetsResponse], error) // SetStudioAgentPresets sets the list of agent presets in the server. SetStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.SetStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.SetStudioAgentPresetsResponse], error) }
StudioServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.StudioService service.
type TokenServiceClient ¶
type TokenServiceClient interface { // CreateToken creates a new token suitable for machine-to-machine authentication. CreateToken(context.Context, *connect_go.Request[v1alpha1.CreateTokenRequest]) (*connect_go.Response[v1alpha1.CreateTokenResponse], error) // GetToken gets the specific token for the user // // This method requires authentication. GetToken(context.Context, *connect_go.Request[v1alpha1.GetTokenRequest]) (*connect_go.Response[v1alpha1.GetTokenResponse], error) // ListTokens lists the users active tokens // // This method requires authentication. ListTokens(context.Context, *connect_go.Request[v1alpha1.ListTokensRequest]) (*connect_go.Response[v1alpha1.ListTokensResponse], error) // DeleteToken deletes an existing token. // // This method requires authentication. DeleteToken(context.Context, *connect_go.Request[v1alpha1.DeleteTokenRequest]) (*connect_go.Response[v1alpha1.DeleteTokenResponse], error) }
TokenServiceClient is a client for the buf.alpha.registry.v1alpha1.TokenService service.
func NewTokenServiceClient ¶
func NewTokenServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) TokenServiceClient
NewTokenServiceClient constructs a client for the buf.alpha.registry.v1alpha1.TokenService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TokenServiceHandler ¶
type TokenServiceHandler interface { // CreateToken creates a new token suitable for machine-to-machine authentication. CreateToken(context.Context, *connect_go.Request[v1alpha1.CreateTokenRequest]) (*connect_go.Response[v1alpha1.CreateTokenResponse], error) // GetToken gets the specific token for the user // // This method requires authentication. GetToken(context.Context, *connect_go.Request[v1alpha1.GetTokenRequest]) (*connect_go.Response[v1alpha1.GetTokenResponse], error) // ListTokens lists the users active tokens // // This method requires authentication. ListTokens(context.Context, *connect_go.Request[v1alpha1.ListTokensRequest]) (*connect_go.Response[v1alpha1.ListTokensResponse], error) // DeleteToken deletes an existing token. // // This method requires authentication. DeleteToken(context.Context, *connect_go.Request[v1alpha1.DeleteTokenRequest]) (*connect_go.Response[v1alpha1.DeleteTokenResponse], error) }
TokenServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.TokenService service.
type UnimplementedAdminServiceHandler ¶
type UnimplementedAdminServiceHandler struct{}
UnimplementedAdminServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAdminServiceHandler) CreateMachineUser ¶ added in v1.10.0
func (UnimplementedAdminServiceHandler) CreateMachineUser(context.Context, *connect_go.Request[v1alpha1.CreateMachineUserRequest]) (*connect_go.Response[v1alpha1.CreateMachineUserResponse], error)
func (UnimplementedAdminServiceHandler) ForceDeleteUser ¶
func (UnimplementedAdminServiceHandler) ForceDeleteUser(context.Context, *connect_go.Request[v1alpha1.ForceDeleteUserRequest]) (*connect_go.Response[v1alpha1.ForceDeleteUserResponse], error)
func (UnimplementedAdminServiceHandler) UpdateOrganizationVerificationStatus ¶ added in v1.9.0
func (UnimplementedAdminServiceHandler) UpdateOrganizationVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationVerificationStatusResponse], error)
func (UnimplementedAdminServiceHandler) UpdateUserVerificationStatus ¶ added in v1.9.0
func (UnimplementedAdminServiceHandler) UpdateUserVerificationStatus(context.Context, *connect_go.Request[v1alpha1.UpdateUserVerificationStatusRequest]) (*connect_go.Response[v1alpha1.UpdateUserVerificationStatusResponse], error)
type UnimplementedAuthnServiceHandler ¶
type UnimplementedAuthnServiceHandler struct{}
UnimplementedAuthnServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthnServiceHandler) GetCurrentUser ¶
func (UnimplementedAuthnServiceHandler) GetCurrentUser(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserResponse], error)
func (UnimplementedAuthnServiceHandler) GetCurrentUserSubject ¶
func (UnimplementedAuthnServiceHandler) GetCurrentUserSubject(context.Context, *connect_go.Request[v1alpha1.GetCurrentUserSubjectRequest]) (*connect_go.Response[v1alpha1.GetCurrentUserSubjectResponse], error)
type UnimplementedAuthzServiceHandler ¶
type UnimplementedAuthzServiceHandler struct{}
UnimplementedAuthzServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthzServiceHandler) UserCanAddOrganizationMember ¶
func (UnimplementedAuthzServiceHandler) UserCanAddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanAddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanAddOrganizationMemberResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationPlugin ¶
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationPluginRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationPluginResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationRepository ¶
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationRepository(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationRepositoryResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationTemplate ¶
func (UnimplementedAuthzServiceHandler) UserCanCreateOrganizationTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanCreateOrganizationTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanCreateOrganizationTemplateResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanCreatePluginVersion ¶
func (UnimplementedAuthzServiceHandler) UserCanCreatePluginVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreatePluginVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreatePluginVersionResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanCreateTemplateVersion ¶
func (UnimplementedAuthzServiceHandler) UserCanCreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.UserCanCreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.UserCanCreateTemplateVersionResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanDeleteOrganization ¶
func (UnimplementedAuthzServiceHandler) UserCanDeleteOrganization(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteOrganizationResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanDeletePlugin ¶
func (UnimplementedAuthzServiceHandler) UserCanDeletePlugin(context.Context, *connect_go.Request[v1alpha1.UserCanDeletePluginRequest]) (*connect_go.Response[v1alpha1.UserCanDeletePluginResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanDeleteRepository ¶
func (UnimplementedAuthzServiceHandler) UserCanDeleteRepository(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteRepositoryResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanDeleteTemplate ¶
func (UnimplementedAuthzServiceHandler) UserCanDeleteTemplate(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteTemplateRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteTemplateResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanDeleteUser ¶
func (UnimplementedAuthzServiceHandler) UserCanDeleteUser(context.Context, *connect_go.Request[v1alpha1.UserCanDeleteUserRequest]) (*connect_go.Response[v1alpha1.UserCanDeleteUserResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanManagePluginContributors ¶
func (UnimplementedAuthzServiceHandler) UserCanManagePluginContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManagePluginContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManagePluginContributorsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanManageRepositoryContributors ¶
func (UnimplementedAuthzServiceHandler) UserCanManageRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageRepositoryContributorsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanManageTemplateContributors ¶
func (UnimplementedAuthzServiceHandler) UserCanManageTemplateContributors(context.Context, *connect_go.Request[v1alpha1.UserCanManageTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.UserCanManageTemplateContributorsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanReadPlugin ¶
func (UnimplementedAuthzServiceHandler) UserCanReadPlugin(context.Context, *connect_go.Request[v1alpha1.UserCanReadPluginRequest]) (*connect_go.Response[v1alpha1.UserCanReadPluginResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanRemoveOrganizationMember ¶
func (UnimplementedAuthzServiceHandler) UserCanRemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanRemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanRemoveOrganizationMemberResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanSeeOrganizationSettings ¶
func (UnimplementedAuthzServiceHandler) UserCanSeeOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeOrganizationSettingsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanSeePluginSettings ¶
func (UnimplementedAuthzServiceHandler) UserCanSeePluginSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeePluginSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeePluginSettingsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanSeeRepositorySettings ¶
func (UnimplementedAuthzServiceHandler) UserCanSeeRepositorySettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeRepositorySettingsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanSeeServerAdminPanel ¶
func (UnimplementedAuthzServiceHandler) UserCanSeeServerAdminPanel(context.Context, *connect_go.Request[v1alpha1.UserCanSeeServerAdminPanelRequest]) (*connect_go.Response[v1alpha1.UserCanSeeServerAdminPanelResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanSeeTemplateSettings ¶
func (UnimplementedAuthzServiceHandler) UserCanSeeTemplateSettings(context.Context, *connect_go.Request[v1alpha1.UserCanSeeTemplateSettingsRequest]) (*connect_go.Response[v1alpha1.UserCanSeeTemplateSettingsResponse], error)
func (UnimplementedAuthzServiceHandler) UserCanUpdateOrganizationMember ¶
func (UnimplementedAuthzServiceHandler) UserCanUpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UserCanUpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UserCanUpdateOrganizationMemberResponse], error)
type UnimplementedCodeGenerationServiceHandler ¶ added in v1.7.0
type UnimplementedCodeGenerationServiceHandler struct{}
UnimplementedCodeGenerationServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedCodeGenerationServiceHandler) GenerateCode ¶ added in v1.7.0
func (UnimplementedCodeGenerationServiceHandler) GenerateCode(context.Context, *connect_go.Request[v1alpha1.GenerateCodeRequest]) (*connect_go.Response[v1alpha1.GenerateCodeResponse], error)
type UnimplementedConvertServiceHandler ¶
type UnimplementedConvertServiceHandler struct{}
UnimplementedConvertServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedConvertServiceHandler) Convert ¶
func (UnimplementedConvertServiceHandler) Convert(context.Context, *connect_go.Request[v1alpha1.ConvertRequest]) (*connect_go.Response[v1alpha1.ConvertResponse], error)
type UnimplementedDisplayServiceHandler ¶
type UnimplementedDisplayServiceHandler struct{}
UnimplementedDisplayServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedDisplayServiceHandler) DisplayOrganizationElements ¶
func (UnimplementedDisplayServiceHandler) DisplayOrganizationElements(context.Context, *connect_go.Request[v1alpha1.DisplayOrganizationElementsRequest]) (*connect_go.Response[v1alpha1.DisplayOrganizationElementsResponse], error)
func (UnimplementedDisplayServiceHandler) DisplayPluginElements ¶
func (UnimplementedDisplayServiceHandler) DisplayPluginElements(context.Context, *connect_go.Request[v1alpha1.DisplayPluginElementsRequest]) (*connect_go.Response[v1alpha1.DisplayPluginElementsResponse], error)
func (UnimplementedDisplayServiceHandler) DisplayRepositoryElements ¶
func (UnimplementedDisplayServiceHandler) DisplayRepositoryElements(context.Context, *connect_go.Request[v1alpha1.DisplayRepositoryElementsRequest]) (*connect_go.Response[v1alpha1.DisplayRepositoryElementsResponse], error)
func (UnimplementedDisplayServiceHandler) DisplayServerElements ¶
func (UnimplementedDisplayServiceHandler) DisplayServerElements(context.Context, *connect_go.Request[v1alpha1.DisplayServerElementsRequest]) (*connect_go.Response[v1alpha1.DisplayServerElementsResponse], error)
func (UnimplementedDisplayServiceHandler) DisplayTemplateElements ¶
func (UnimplementedDisplayServiceHandler) DisplayTemplateElements(context.Context, *connect_go.Request[v1alpha1.DisplayTemplateElementsRequest]) (*connect_go.Response[v1alpha1.DisplayTemplateElementsResponse], error)
func (UnimplementedDisplayServiceHandler) DisplayUserElements ¶
func (UnimplementedDisplayServiceHandler) DisplayUserElements(context.Context, *connect_go.Request[v1alpha1.DisplayUserElementsRequest]) (*connect_go.Response[v1alpha1.DisplayUserElementsResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageablePluginRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageablePluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageablePluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageablePluginRolesResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageableRepositoryRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageableRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableRepositoryRolesResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageableTemplateRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageableTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableTemplateRolesResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageableUserPluginRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageableUserPluginRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserPluginRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserPluginRolesResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageableUserRepositoryRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageableUserRepositoryRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserRepositoryRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserRepositoryRolesResponse], error)
func (UnimplementedDisplayServiceHandler) ListManageableUserTemplateRoles ¶
func (UnimplementedDisplayServiceHandler) ListManageableUserTemplateRoles(context.Context, *connect_go.Request[v1alpha1.ListManageableUserTemplateRolesRequest]) (*connect_go.Response[v1alpha1.ListManageableUserTemplateRolesResponse], error)
type UnimplementedDocServiceHandler ¶
type UnimplementedDocServiceHandler struct{}
UnimplementedDocServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedDocServiceHandler) GetModuleDocumentation ¶
func (UnimplementedDocServiceHandler) GetModuleDocumentation(context.Context, *connect_go.Request[v1alpha1.GetModuleDocumentationRequest]) (*connect_go.Response[v1alpha1.GetModuleDocumentationResponse], error)
func (UnimplementedDocServiceHandler) GetModulePackages ¶
func (UnimplementedDocServiceHandler) GetModulePackages(context.Context, *connect_go.Request[v1alpha1.GetModulePackagesRequest]) (*connect_go.Response[v1alpha1.GetModulePackagesResponse], error)
func (UnimplementedDocServiceHandler) GetPackageDocumentation ¶
func (UnimplementedDocServiceHandler) GetPackageDocumentation(context.Context, *connect_go.Request[v1alpha1.GetPackageDocumentationRequest]) (*connect_go.Response[v1alpha1.GetPackageDocumentationResponse], error)
func (UnimplementedDocServiceHandler) GetSourceDirectoryInfo ¶
func (UnimplementedDocServiceHandler) GetSourceDirectoryInfo(context.Context, *connect_go.Request[v1alpha1.GetSourceDirectoryInfoRequest]) (*connect_go.Response[v1alpha1.GetSourceDirectoryInfoResponse], error)
func (UnimplementedDocServiceHandler) GetSourceFile ¶
func (UnimplementedDocServiceHandler) GetSourceFile(context.Context, *connect_go.Request[v1alpha1.GetSourceFileRequest]) (*connect_go.Response[v1alpha1.GetSourceFileResponse], error)
type UnimplementedDownloadServiceHandler ¶
type UnimplementedDownloadServiceHandler struct{}
UnimplementedDownloadServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedDownloadServiceHandler) Download ¶
func (UnimplementedDownloadServiceHandler) Download(context.Context, *connect_go.Request[v1alpha1.DownloadRequest]) (*connect_go.Response[v1alpha1.DownloadResponse], error)
func (UnimplementedDownloadServiceHandler) DownloadManifestAndBlobs ¶ added in v1.13.0
func (UnimplementedDownloadServiceHandler) DownloadManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.DownloadManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.DownloadManifestAndBlobsResponse], error)
type UnimplementedGenerateServiceHandler ¶
type UnimplementedGenerateServiceHandler struct{}
UnimplementedGenerateServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGenerateServiceHandler) GeneratePlugins ¶
func (UnimplementedGenerateServiceHandler) GeneratePlugins(context.Context, *connect_go.Request[v1alpha1.GeneratePluginsRequest]) (*connect_go.Response[v1alpha1.GeneratePluginsResponse], error)
func (UnimplementedGenerateServiceHandler) GenerateTemplate ¶
func (UnimplementedGenerateServiceHandler) GenerateTemplate(context.Context, *connect_go.Request[v1alpha1.GenerateTemplateRequest]) (*connect_go.Response[v1alpha1.GenerateTemplateResponse], error)
type UnimplementedGithubServiceHandler ¶
type UnimplementedGithubServiceHandler struct{}
UnimplementedGithubServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGithubServiceHandler) GetGithubAppConfig ¶
func (UnimplementedGithubServiceHandler) GetGithubAppConfig(context.Context, *connect_go.Request[v1alpha1.GetGithubAppConfigRequest]) (*connect_go.Response[v1alpha1.GetGithubAppConfigResponse], error)
type UnimplementedImageServiceHandler ¶
type UnimplementedImageServiceHandler struct{}
UnimplementedImageServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedImageServiceHandler) GetImage ¶
func (UnimplementedImageServiceHandler) GetImage(context.Context, *connect_go.Request[v1alpha1.GetImageRequest]) (*connect_go.Response[v1alpha1.GetImageResponse], error)
type UnimplementedJSONSchemaServiceHandler ¶
type UnimplementedJSONSchemaServiceHandler struct{}
UnimplementedJSONSchemaServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedJSONSchemaServiceHandler) GetJSONSchema ¶
func (UnimplementedJSONSchemaServiceHandler) GetJSONSchema(context.Context, *connect_go.Request[v1alpha1.GetJSONSchemaRequest]) (*connect_go.Response[v1alpha1.GetJSONSchemaResponse], error)
type UnimplementedLocalResolveServiceHandler ¶
type UnimplementedLocalResolveServiceHandler struct{}
UnimplementedLocalResolveServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedLocalResolveServiceHandler) GetLocalModulePins ¶
func (UnimplementedLocalResolveServiceHandler) GetLocalModulePins(context.Context, *connect_go.Request[v1alpha1.GetLocalModulePinsRequest]) (*connect_go.Response[v1alpha1.GetLocalModulePinsResponse], error)
type UnimplementedOrganizationServiceHandler ¶
type UnimplementedOrganizationServiceHandler struct{}
UnimplementedOrganizationServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedOrganizationServiceHandler) AddOrganizationGroup ¶ added in v1.12.0
func (UnimplementedOrganizationServiceHandler) AddOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.AddOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.AddOrganizationGroupResponse], error)
func (UnimplementedOrganizationServiceHandler) AddOrganizationMember ¶
func (UnimplementedOrganizationServiceHandler) AddOrganizationMember(context.Context, *connect_go.Request[v1alpha1.AddOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.AddOrganizationMemberResponse], error)
func (UnimplementedOrganizationServiceHandler) CreateOrganization ¶
func (UnimplementedOrganizationServiceHandler) CreateOrganization(context.Context, *connect_go.Request[v1alpha1.CreateOrganizationRequest]) (*connect_go.Response[v1alpha1.CreateOrganizationResponse], error)
func (UnimplementedOrganizationServiceHandler) DeleteOrganization ¶
func (UnimplementedOrganizationServiceHandler) DeleteOrganization(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationResponse], error)
func (UnimplementedOrganizationServiceHandler) DeleteOrganizationByName ¶
func (UnimplementedOrganizationServiceHandler) DeleteOrganizationByName(context.Context, *connect_go.Request[v1alpha1.DeleteOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.DeleteOrganizationByNameResponse], error)
func (UnimplementedOrganizationServiceHandler) GetOrganization ¶
func (UnimplementedOrganizationServiceHandler) GetOrganization(context.Context, *connect_go.Request[v1alpha1.GetOrganizationRequest]) (*connect_go.Response[v1alpha1.GetOrganizationResponse], error)
func (UnimplementedOrganizationServiceHandler) GetOrganizationByName ¶
func (UnimplementedOrganizationServiceHandler) GetOrganizationByName(context.Context, *connect_go.Request[v1alpha1.GetOrganizationByNameRequest]) (*connect_go.Response[v1alpha1.GetOrganizationByNameResponse], error)
func (UnimplementedOrganizationServiceHandler) GetOrganizationSettings ¶
func (UnimplementedOrganizationServiceHandler) GetOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.GetOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.GetOrganizationSettingsResponse], error)
func (UnimplementedOrganizationServiceHandler) ListOrganizations ¶
func (UnimplementedOrganizationServiceHandler) ListOrganizations(context.Context, *connect_go.Request[v1alpha1.ListOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationsResponse], error)
func (UnimplementedOrganizationServiceHandler) ListUserOrganizations ¶
func (UnimplementedOrganizationServiceHandler) ListUserOrganizations(context.Context, *connect_go.Request[v1alpha1.ListUserOrganizationsRequest]) (*connect_go.Response[v1alpha1.ListUserOrganizationsResponse], error)
func (UnimplementedOrganizationServiceHandler) RemoveOrganizationGroup ¶ added in v1.12.0
func (UnimplementedOrganizationServiceHandler) RemoveOrganizationGroup(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationGroupRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationGroupResponse], error)
func (UnimplementedOrganizationServiceHandler) RemoveOrganizationMember ¶
func (UnimplementedOrganizationServiceHandler) RemoveOrganizationMember(context.Context, *connect_go.Request[v1alpha1.RemoveOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.RemoveOrganizationMemberResponse], error)
func (UnimplementedOrganizationServiceHandler) SetOrganizationMember ¶
func (UnimplementedOrganizationServiceHandler) SetOrganizationMember(context.Context, *connect_go.Request[v1alpha1.SetOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.SetOrganizationMemberResponse], error)
func (UnimplementedOrganizationServiceHandler) UpdateOrganizationMember ¶
func (UnimplementedOrganizationServiceHandler) UpdateOrganizationMember(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationMemberRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationMemberResponse], error)
func (UnimplementedOrganizationServiceHandler) UpdateOrganizationSettings ¶
func (UnimplementedOrganizationServiceHandler) UpdateOrganizationSettings(context.Context, *connect_go.Request[v1alpha1.UpdateOrganizationSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateOrganizationSettingsResponse], error)
type UnimplementedOwnerServiceHandler ¶
type UnimplementedOwnerServiceHandler struct{}
UnimplementedOwnerServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedOwnerServiceHandler) GetOwnerByName ¶
func (UnimplementedOwnerServiceHandler) GetOwnerByName(context.Context, *connect_go.Request[v1alpha1.GetOwnerByNameRequest]) (*connect_go.Response[v1alpha1.GetOwnerByNameResponse], error)
type UnimplementedPluginCurationServiceHandler ¶ added in v1.7.0
type UnimplementedPluginCurationServiceHandler struct{}
UnimplementedPluginCurationServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedPluginCurationServiceHandler) CreateCuratedPlugin ¶ added in v1.7.0
func (UnimplementedPluginCurationServiceHandler) CreateCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.CreateCuratedPluginRequest]) (*connect_go.Response[v1alpha1.CreateCuratedPluginResponse], error)
func (UnimplementedPluginCurationServiceHandler) DeleteCuratedPlugin ¶ added in v1.12.0
func (UnimplementedPluginCurationServiceHandler) DeleteCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.DeleteCuratedPluginRequest]) (*connect_go.Response[v1alpha1.DeleteCuratedPluginResponse], error)
func (UnimplementedPluginCurationServiceHandler) GetLatestCuratedPlugin ¶ added in v1.7.0
func (UnimplementedPluginCurationServiceHandler) GetLatestCuratedPlugin(context.Context, *connect_go.Request[v1alpha1.GetLatestCuratedPluginRequest]) (*connect_go.Response[v1alpha1.GetLatestCuratedPluginResponse], error)
func (UnimplementedPluginCurationServiceHandler) ListCuratedPlugins ¶ added in v1.7.0
func (UnimplementedPluginCurationServiceHandler) ListCuratedPlugins(context.Context, *connect_go.Request[v1alpha1.ListCuratedPluginsRequest]) (*connect_go.Response[v1alpha1.ListCuratedPluginsResponse], error)
type UnimplementedPluginServiceHandler ¶
type UnimplementedPluginServiceHandler struct{}
UnimplementedPluginServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedPluginServiceHandler) CreatePlugin ¶
func (UnimplementedPluginServiceHandler) CreatePlugin(context.Context, *connect_go.Request[v1alpha1.CreatePluginRequest]) (*connect_go.Response[v1alpha1.CreatePluginResponse], error)
func (UnimplementedPluginServiceHandler) CreateTemplate ¶
func (UnimplementedPluginServiceHandler) CreateTemplate(context.Context, *connect_go.Request[v1alpha1.CreateTemplateRequest]) (*connect_go.Response[v1alpha1.CreateTemplateResponse], error)
func (UnimplementedPluginServiceHandler) CreateTemplateVersion ¶
func (UnimplementedPluginServiceHandler) CreateTemplateVersion(context.Context, *connect_go.Request[v1alpha1.CreateTemplateVersionRequest]) (*connect_go.Response[v1alpha1.CreateTemplateVersionResponse], error)
func (UnimplementedPluginServiceHandler) DeletePlugin ¶
func (UnimplementedPluginServiceHandler) DeletePlugin(context.Context, *connect_go.Request[v1alpha1.DeletePluginRequest]) (*connect_go.Response[v1alpha1.DeletePluginResponse], error)
func (UnimplementedPluginServiceHandler) DeleteTemplate ¶
func (UnimplementedPluginServiceHandler) DeleteTemplate(context.Context, *connect_go.Request[v1alpha1.DeleteTemplateRequest]) (*connect_go.Response[v1alpha1.DeleteTemplateResponse], error)
func (UnimplementedPluginServiceHandler) DeprecatePlugin ¶
func (UnimplementedPluginServiceHandler) DeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.DeprecatePluginRequest]) (*connect_go.Response[v1alpha1.DeprecatePluginResponse], error)
func (UnimplementedPluginServiceHandler) DeprecateTemplate ¶
func (UnimplementedPluginServiceHandler) DeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.DeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.DeprecateTemplateResponse], error)
func (UnimplementedPluginServiceHandler) GetPlugin ¶
func (UnimplementedPluginServiceHandler) GetPlugin(context.Context, *connect_go.Request[v1alpha1.GetPluginRequest]) (*connect_go.Response[v1alpha1.GetPluginResponse], error)
func (UnimplementedPluginServiceHandler) GetPluginVersion ¶
func (UnimplementedPluginServiceHandler) GetPluginVersion(context.Context, *connect_go.Request[v1alpha1.GetPluginVersionRequest]) (*connect_go.Response[v1alpha1.GetPluginVersionResponse], error)
func (UnimplementedPluginServiceHandler) GetTemplate ¶
func (UnimplementedPluginServiceHandler) GetTemplate(context.Context, *connect_go.Request[v1alpha1.GetTemplateRequest]) (*connect_go.Response[v1alpha1.GetTemplateResponse], error)
func (UnimplementedPluginServiceHandler) GetTemplateVersion ¶
func (UnimplementedPluginServiceHandler) GetTemplateVersion(context.Context, *connect_go.Request[v1alpha1.GetTemplateVersionRequest]) (*connect_go.Response[v1alpha1.GetTemplateVersionResponse], error)
func (UnimplementedPluginServiceHandler) ListOrganizationPlugins ¶
func (UnimplementedPluginServiceHandler) ListOrganizationPlugins(context.Context, *connect_go.Request[v1alpha1.ListOrganizationPluginsRequest]) (*connect_go.Response[v1alpha1.ListOrganizationPluginsResponse], error)
func (UnimplementedPluginServiceHandler) ListOrganizationTemplates ¶
func (UnimplementedPluginServiceHandler) ListOrganizationTemplates(context.Context, *connect_go.Request[v1alpha1.ListOrganizationTemplatesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationTemplatesResponse], error)
func (UnimplementedPluginServiceHandler) ListPluginContributors ¶
func (UnimplementedPluginServiceHandler) ListPluginContributors(context.Context, *connect_go.Request[v1alpha1.ListPluginContributorsRequest]) (*connect_go.Response[v1alpha1.ListPluginContributorsResponse], error)
func (UnimplementedPluginServiceHandler) ListPluginVersions ¶
func (UnimplementedPluginServiceHandler) ListPluginVersions(context.Context, *connect_go.Request[v1alpha1.ListPluginVersionsRequest]) (*connect_go.Response[v1alpha1.ListPluginVersionsResponse], error)
func (UnimplementedPluginServiceHandler) ListPlugins ¶
func (UnimplementedPluginServiceHandler) ListPlugins(context.Context, *connect_go.Request[v1alpha1.ListPluginsRequest]) (*connect_go.Response[v1alpha1.ListPluginsResponse], error)
func (UnimplementedPluginServiceHandler) ListTemplateContributors ¶
func (UnimplementedPluginServiceHandler) ListTemplateContributors(context.Context, *connect_go.Request[v1alpha1.ListTemplateContributorsRequest]) (*connect_go.Response[v1alpha1.ListTemplateContributorsResponse], error)
func (UnimplementedPluginServiceHandler) ListTemplateVersions ¶
func (UnimplementedPluginServiceHandler) ListTemplateVersions(context.Context, *connect_go.Request[v1alpha1.ListTemplateVersionsRequest]) (*connect_go.Response[v1alpha1.ListTemplateVersionsResponse], error)
func (UnimplementedPluginServiceHandler) ListTemplates ¶
func (UnimplementedPluginServiceHandler) ListTemplates(context.Context, *connect_go.Request[v1alpha1.ListTemplatesRequest]) (*connect_go.Response[v1alpha1.ListTemplatesResponse], error)
func (UnimplementedPluginServiceHandler) ListTemplatesUserCanAccess ¶
func (UnimplementedPluginServiceHandler) ListTemplatesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListTemplatesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListTemplatesUserCanAccessResponse], error)
func (UnimplementedPluginServiceHandler) ListUserPlugins ¶
func (UnimplementedPluginServiceHandler) ListUserPlugins(context.Context, *connect_go.Request[v1alpha1.ListUserPluginsRequest]) (*connect_go.Response[v1alpha1.ListUserPluginsResponse], error)
func (UnimplementedPluginServiceHandler) ListUserTemplates ¶
func (UnimplementedPluginServiceHandler) ListUserTemplates(context.Context, *connect_go.Request[v1alpha1.ListUserTemplatesRequest]) (*connect_go.Response[v1alpha1.ListUserTemplatesResponse], error)
func (UnimplementedPluginServiceHandler) SetPluginContributor ¶
func (UnimplementedPluginServiceHandler) SetPluginContributor(context.Context, *connect_go.Request[v1alpha1.SetPluginContributorRequest]) (*connect_go.Response[v1alpha1.SetPluginContributorResponse], error)
func (UnimplementedPluginServiceHandler) SetTemplateContributor ¶
func (UnimplementedPluginServiceHandler) SetTemplateContributor(context.Context, *connect_go.Request[v1alpha1.SetTemplateContributorRequest]) (*connect_go.Response[v1alpha1.SetTemplateContributorResponse], error)
func (UnimplementedPluginServiceHandler) UndeprecatePlugin ¶
func (UnimplementedPluginServiceHandler) UndeprecatePlugin(context.Context, *connect_go.Request[v1alpha1.UndeprecatePluginRequest]) (*connect_go.Response[v1alpha1.UndeprecatePluginResponse], error)
func (UnimplementedPluginServiceHandler) UndeprecateTemplate ¶
func (UnimplementedPluginServiceHandler) UndeprecateTemplate(context.Context, *connect_go.Request[v1alpha1.UndeprecateTemplateRequest]) (*connect_go.Response[v1alpha1.UndeprecateTemplateResponse], error)
type UnimplementedPushServiceHandler ¶
type UnimplementedPushServiceHandler struct{}
UnimplementedPushServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedPushServiceHandler) Push ¶
func (UnimplementedPushServiceHandler) Push(context.Context, *connect_go.Request[v1alpha1.PushRequest]) (*connect_go.Response[v1alpha1.PushResponse], error)
func (UnimplementedPushServiceHandler) PushManifestAndBlobs ¶ added in v1.13.0
func (UnimplementedPushServiceHandler) PushManifestAndBlobs(context.Context, *connect_go.Request[v1alpha1.PushManifestAndBlobsRequest]) (*connect_go.Response[v1alpha1.PushManifestAndBlobsResponse], error)
type UnimplementedRecommendationServiceHandler ¶
type UnimplementedRecommendationServiceHandler struct{}
UnimplementedRecommendationServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedRecommendationServiceHandler) ListRecommendedResources ¶ added in v1.10.0
func (UnimplementedRecommendationServiceHandler) ListRecommendedResources(context.Context, *connect_go.Request[v1alpha1.ListRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.ListRecommendedResourcesResponse], error)
func (UnimplementedRecommendationServiceHandler) RecommendedRepositories ¶
func (UnimplementedRecommendationServiceHandler) RecommendedRepositories(context.Context, *connect_go.Request[v1alpha1.RecommendedRepositoriesRequest]) (*connect_go.Response[v1alpha1.RecommendedRepositoriesResponse], error)
func (UnimplementedRecommendationServiceHandler) RecommendedTemplates ¶
func (UnimplementedRecommendationServiceHandler) RecommendedTemplates(context.Context, *connect_go.Request[v1alpha1.RecommendedTemplatesRequest]) (*connect_go.Response[v1alpha1.RecommendedTemplatesResponse], error)
func (UnimplementedRecommendationServiceHandler) SetRecommendedResources ¶ added in v1.10.0
func (UnimplementedRecommendationServiceHandler) SetRecommendedResources(context.Context, *connect_go.Request[v1alpha1.SetRecommendedResourcesRequest]) (*connect_go.Response[v1alpha1.SetRecommendedResourcesResponse], error)
type UnimplementedReferenceServiceHandler ¶
type UnimplementedReferenceServiceHandler struct{}
UnimplementedReferenceServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedReferenceServiceHandler) GetReferenceByName ¶
func (UnimplementedReferenceServiceHandler) GetReferenceByName(context.Context, *connect_go.Request[v1alpha1.GetReferenceByNameRequest]) (*connect_go.Response[v1alpha1.GetReferenceByNameResponse], error)
type UnimplementedRepositoryCommitServiceHandler ¶
type UnimplementedRepositoryCommitServiceHandler struct{}
UnimplementedRepositoryCommitServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedRepositoryCommitServiceHandler) DeleteRepositoryDraftCommit ¶ added in v1.7.0
func (UnimplementedRepositoryCommitServiceHandler) DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error)
func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitByReference ¶
func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error)
func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitBySequenceId ¶
func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error)
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByBranch ¶
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error)
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByReference ¶
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error)
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryDraftCommits ¶ added in v1.7.0
func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error)
type UnimplementedRepositoryServiceHandler ¶
type UnimplementedRepositoryServiceHandler struct{}
UnimplementedRepositoryServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedRepositoryServiceHandler) CreateRepositoryByFullName ¶
func (UnimplementedRepositoryServiceHandler) CreateRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryByFullNameResponse], error)
func (UnimplementedRepositoryServiceHandler) DeleteRepository ¶
func (UnimplementedRepositoryServiceHandler) DeleteRepository(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryResponse], error)
func (UnimplementedRepositoryServiceHandler) DeleteRepositoryByFullName ¶
func (UnimplementedRepositoryServiceHandler) DeleteRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryByFullNameResponse], error)
func (UnimplementedRepositoryServiceHandler) DeprecateRepositoryByName ¶
func (UnimplementedRepositoryServiceHandler) DeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.DeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.DeprecateRepositoryByNameResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepositoriesByFullName ¶
func (UnimplementedRepositoryServiceHandler) GetRepositoriesByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesByFullNameResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepositoriesMetadata ¶ added in v1.10.0
func (UnimplementedRepositoryServiceHandler) GetRepositoriesMetadata(context.Context, *connect_go.Request[v1alpha1.GetRepositoriesMetadataRequest]) (*connect_go.Response[v1alpha1.GetRepositoriesMetadataResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepository ¶
func (UnimplementedRepositoryServiceHandler) GetRepository(context.Context, *connect_go.Request[v1alpha1.GetRepositoryRequest]) (*connect_go.Response[v1alpha1.GetRepositoryResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepositoryByFullName ¶
func (UnimplementedRepositoryServiceHandler) GetRepositoryByFullName(context.Context, *connect_go.Request[v1alpha1.GetRepositoryByFullNameRequest]) (*connect_go.Response[v1alpha1.GetRepositoryByFullNameResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepositoryContributor ¶
func (UnimplementedRepositoryServiceHandler) GetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.GetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.GetRepositoryContributorResponse], error)
func (UnimplementedRepositoryServiceHandler) GetRepositorySettings ¶
func (UnimplementedRepositoryServiceHandler) GetRepositorySettings(context.Context, *connect_go.Request[v1alpha1.GetRepositorySettingsRequest]) (*connect_go.Response[v1alpha1.GetRepositorySettingsResponse], error)
func (UnimplementedRepositoryServiceHandler) ListOrganizationRepositories ¶
func (UnimplementedRepositoryServiceHandler) ListOrganizationRepositories(context.Context, *connect_go.Request[v1alpha1.ListOrganizationRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListOrganizationRepositoriesResponse], error)
func (UnimplementedRepositoryServiceHandler) ListRepositories ¶
func (UnimplementedRepositoryServiceHandler) ListRepositories(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesResponse], error)
func (UnimplementedRepositoryServiceHandler) ListRepositoriesUserCanAccess ¶
func (UnimplementedRepositoryServiceHandler) ListRepositoriesUserCanAccess(context.Context, *connect_go.Request[v1alpha1.ListRepositoriesUserCanAccessRequest]) (*connect_go.Response[v1alpha1.ListRepositoriesUserCanAccessResponse], error)
func (UnimplementedRepositoryServiceHandler) ListRepositoryContributors ¶
func (UnimplementedRepositoryServiceHandler) ListRepositoryContributors(context.Context, *connect_go.Request[v1alpha1.ListRepositoryContributorsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryContributorsResponse], error)
func (UnimplementedRepositoryServiceHandler) ListUserRepositories ¶
func (UnimplementedRepositoryServiceHandler) ListUserRepositories(context.Context, *connect_go.Request[v1alpha1.ListUserRepositoriesRequest]) (*connect_go.Response[v1alpha1.ListUserRepositoriesResponse], error)
func (UnimplementedRepositoryServiceHandler) SetRepositoryContributor ¶
func (UnimplementedRepositoryServiceHandler) SetRepositoryContributor(context.Context, *connect_go.Request[v1alpha1.SetRepositoryContributorRequest]) (*connect_go.Response[v1alpha1.SetRepositoryContributorResponse], error)
func (UnimplementedRepositoryServiceHandler) UndeprecateRepositoryByName ¶
func (UnimplementedRepositoryServiceHandler) UndeprecateRepositoryByName(context.Context, *connect_go.Request[v1alpha1.UndeprecateRepositoryByNameRequest]) (*connect_go.Response[v1alpha1.UndeprecateRepositoryByNameResponse], error)
func (UnimplementedRepositoryServiceHandler) UpdateRepositorySettingsByName ¶
func (UnimplementedRepositoryServiceHandler) UpdateRepositorySettingsByName(context.Context, *connect_go.Request[v1alpha1.UpdateRepositorySettingsByNameRequest]) (*connect_go.Response[v1alpha1.UpdateRepositorySettingsByNameResponse], error)
type UnimplementedRepositoryTagServiceHandler ¶
type UnimplementedRepositoryTagServiceHandler struct{}
UnimplementedRepositoryTagServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedRepositoryTagServiceHandler) CreateRepositoryTag ¶
func (UnimplementedRepositoryTagServiceHandler) CreateRepositoryTag(context.Context, *connect_go.Request[v1alpha1.CreateRepositoryTagRequest]) (*connect_go.Response[v1alpha1.CreateRepositoryTagResponse], error)
func (UnimplementedRepositoryTagServiceHandler) ListRepositoryTags ¶
func (UnimplementedRepositoryTagServiceHandler) ListRepositoryTags(context.Context, *connect_go.Request[v1alpha1.ListRepositoryTagsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryTagsResponse], error)
type UnimplementedResolveServiceHandler ¶
type UnimplementedResolveServiceHandler struct{}
UnimplementedResolveServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedResolveServiceHandler) GetModulePins ¶
func (UnimplementedResolveServiceHandler) GetModulePins(context.Context, *connect_go.Request[v1alpha1.GetModulePinsRequest]) (*connect_go.Response[v1alpha1.GetModulePinsResponse], error)
type UnimplementedResourceServiceHandler ¶ added in v1.9.0
type UnimplementedResourceServiceHandler struct{}
UnimplementedResourceServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedResourceServiceHandler) GetResourceByName ¶ added in v1.9.0
func (UnimplementedResourceServiceHandler) GetResourceByName(context.Context, *connect_go.Request[v1alpha1.GetResourceByNameRequest]) (*connect_go.Response[v1alpha1.GetResourceByNameResponse], error)
type UnimplementedSchemaServiceHandler ¶ added in v1.10.0
type UnimplementedSchemaServiceHandler struct{}
UnimplementedSchemaServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSchemaServiceHandler) ConvertMessage ¶ added in v1.10.0
func (UnimplementedSchemaServiceHandler) ConvertMessage(context.Context, *connect_go.Request[v1alpha1.ConvertMessageRequest]) (*connect_go.Response[v1alpha1.ConvertMessageResponse], error)
func (UnimplementedSchemaServiceHandler) GetSchema ¶ added in v1.10.0
func (UnimplementedSchemaServiceHandler) GetSchema(context.Context, *connect_go.Request[v1alpha1.GetSchemaRequest]) (*connect_go.Response[v1alpha1.GetSchemaResponse], error)
type UnimplementedSearchServiceHandler ¶
type UnimplementedSearchServiceHandler struct{}
UnimplementedSearchServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSearchServiceHandler) Search ¶
func (UnimplementedSearchServiceHandler) Search(context.Context, *connect_go.Request[v1alpha1.SearchRequest]) (*connect_go.Response[v1alpha1.SearchResponse], error)
func (UnimplementedSearchServiceHandler) SearchDraft ¶ added in v1.9.0
func (UnimplementedSearchServiceHandler) SearchDraft(context.Context, *connect_go.Request[v1alpha1.SearchDraftRequest]) (*connect_go.Response[v1alpha1.SearchDraftResponse], error)
func (UnimplementedSearchServiceHandler) SearchTag ¶ added in v1.9.0
func (UnimplementedSearchServiceHandler) SearchTag(context.Context, *connect_go.Request[v1alpha1.SearchTagRequest]) (*connect_go.Response[v1alpha1.SearchTagResponse], error)
type UnimplementedStudioRequestServiceHandler ¶ added in v1.8.0
type UnimplementedStudioRequestServiceHandler struct{}
UnimplementedStudioRequestServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedStudioRequestServiceHandler) CreateStudioRequest ¶ added in v1.8.0
func (UnimplementedStudioRequestServiceHandler) CreateStudioRequest(context.Context, *connect_go.Request[v1alpha1.CreateStudioRequestRequest]) (*connect_go.Response[v1alpha1.CreateStudioRequestResponse], error)
func (UnimplementedStudioRequestServiceHandler) DeleteStudioRequest ¶ added in v1.8.0
func (UnimplementedStudioRequestServiceHandler) DeleteStudioRequest(context.Context, *connect_go.Request[v1alpha1.DeleteStudioRequestRequest]) (*connect_go.Response[v1alpha1.DeleteStudioRequestResponse], error)
func (UnimplementedStudioRequestServiceHandler) ListStudioRequests ¶ added in v1.8.0
func (UnimplementedStudioRequestServiceHandler) ListStudioRequests(context.Context, *connect_go.Request[v1alpha1.ListStudioRequestsRequest]) (*connect_go.Response[v1alpha1.ListStudioRequestsResponse], error)
func (UnimplementedStudioRequestServiceHandler) RenameStudioRequest ¶ added in v1.8.0
func (UnimplementedStudioRequestServiceHandler) RenameStudioRequest(context.Context, *connect_go.Request[v1alpha1.RenameStudioRequestRequest]) (*connect_go.Response[v1alpha1.RenameStudioRequestResponse], error)
type UnimplementedStudioServiceHandler ¶
type UnimplementedStudioServiceHandler struct{}
UnimplementedStudioServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedStudioServiceHandler) ListStudioAgentPresets ¶
func (UnimplementedStudioServiceHandler) ListStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.ListStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.ListStudioAgentPresetsResponse], error)
func (UnimplementedStudioServiceHandler) SetStudioAgentPresets ¶
func (UnimplementedStudioServiceHandler) SetStudioAgentPresets(context.Context, *connect_go.Request[v1alpha1.SetStudioAgentPresetsRequest]) (*connect_go.Response[v1alpha1.SetStudioAgentPresetsResponse], error)
type UnimplementedTokenServiceHandler ¶
type UnimplementedTokenServiceHandler struct{}
UnimplementedTokenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTokenServiceHandler) CreateToken ¶
func (UnimplementedTokenServiceHandler) CreateToken(context.Context, *connect_go.Request[v1alpha1.CreateTokenRequest]) (*connect_go.Response[v1alpha1.CreateTokenResponse], error)
func (UnimplementedTokenServiceHandler) DeleteToken ¶
func (UnimplementedTokenServiceHandler) DeleteToken(context.Context, *connect_go.Request[v1alpha1.DeleteTokenRequest]) (*connect_go.Response[v1alpha1.DeleteTokenResponse], error)
func (UnimplementedTokenServiceHandler) GetToken ¶
func (UnimplementedTokenServiceHandler) GetToken(context.Context, *connect_go.Request[v1alpha1.GetTokenRequest]) (*connect_go.Response[v1alpha1.GetTokenResponse], error)
func (UnimplementedTokenServiceHandler) ListTokens ¶
func (UnimplementedTokenServiceHandler) ListTokens(context.Context, *connect_go.Request[v1alpha1.ListTokensRequest]) (*connect_go.Response[v1alpha1.ListTokensResponse], error)
type UnimplementedUserServiceHandler ¶
type UnimplementedUserServiceHandler struct{}
UnimplementedUserServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedUserServiceHandler) CountUsers ¶
func (UnimplementedUserServiceHandler) CountUsers(context.Context, *connect_go.Request[v1alpha1.CountUsersRequest]) (*connect_go.Response[v1alpha1.CountUsersResponse], error)
func (UnimplementedUserServiceHandler) CreateUser ¶
func (UnimplementedUserServiceHandler) CreateUser(context.Context, *connect_go.Request[v1alpha1.CreateUserRequest]) (*connect_go.Response[v1alpha1.CreateUserResponse], error)
func (UnimplementedUserServiceHandler) DeactivateUser ¶
func (UnimplementedUserServiceHandler) DeactivateUser(context.Context, *connect_go.Request[v1alpha1.DeactivateUserRequest]) (*connect_go.Response[v1alpha1.DeactivateUserResponse], error)
func (UnimplementedUserServiceHandler) DeleteUser ¶
func (UnimplementedUserServiceHandler) DeleteUser(context.Context, *connect_go.Request[v1alpha1.DeleteUserRequest]) (*connect_go.Response[v1alpha1.DeleteUserResponse], error)
func (UnimplementedUserServiceHandler) GetUser ¶
func (UnimplementedUserServiceHandler) GetUser(context.Context, *connect_go.Request[v1alpha1.GetUserRequest]) (*connect_go.Response[v1alpha1.GetUserResponse], error)
func (UnimplementedUserServiceHandler) GetUserByUsername ¶
func (UnimplementedUserServiceHandler) GetUserByUsername(context.Context, *connect_go.Request[v1alpha1.GetUserByUsernameRequest]) (*connect_go.Response[v1alpha1.GetUserByUsernameResponse], error)
func (UnimplementedUserServiceHandler) ListOrganizationUsers ¶
func (UnimplementedUserServiceHandler) ListOrganizationUsers(context.Context, *connect_go.Request[v1alpha1.ListOrganizationUsersRequest]) (*connect_go.Response[v1alpha1.ListOrganizationUsersResponse], error)
func (UnimplementedUserServiceHandler) ListUsers ¶
func (UnimplementedUserServiceHandler) ListUsers(context.Context, *connect_go.Request[v1alpha1.ListUsersRequest]) (*connect_go.Response[v1alpha1.ListUsersResponse], error)
func (UnimplementedUserServiceHandler) UpdateUserServerRole ¶
func (UnimplementedUserServiceHandler) UpdateUserServerRole(context.Context, *connect_go.Request[v1alpha1.UpdateUserServerRoleRequest]) (*connect_go.Response[v1alpha1.UpdateUserServerRoleResponse], error)
func (UnimplementedUserServiceHandler) UpdateUserSettings ¶ added in v1.9.0
func (UnimplementedUserServiceHandler) UpdateUserSettings(context.Context, *connect_go.Request[v1alpha1.UpdateUserSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateUserSettingsResponse], error)
type UnimplementedWebhookServiceHandler ¶ added in v1.6.0
type UnimplementedWebhookServiceHandler struct{}
UnimplementedWebhookServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedWebhookServiceHandler) CreateWebhook ¶ added in v1.6.0
func (UnimplementedWebhookServiceHandler) CreateWebhook(context.Context, *connect_go.Request[v1alpha1.CreateWebhookRequest]) (*connect_go.Response[v1alpha1.CreateWebhookResponse], error)
func (UnimplementedWebhookServiceHandler) DeleteWebhook ¶ added in v1.6.0
func (UnimplementedWebhookServiceHandler) DeleteWebhook(context.Context, *connect_go.Request[v1alpha1.DeleteWebhookRequest]) (*connect_go.Response[v1alpha1.DeleteWebhookResponse], error)
func (UnimplementedWebhookServiceHandler) ListWebhooks ¶ added in v1.6.0
func (UnimplementedWebhookServiceHandler) ListWebhooks(context.Context, *connect_go.Request[v1alpha1.ListWebhooksRequest]) (*connect_go.Response[v1alpha1.ListWebhooksResponse], error)
type UserServiceClient ¶
type UserServiceClient interface { // CreateUser creates a new user with the given username. CreateUser(context.Context, *connect_go.Request[v1alpha1.CreateUserRequest]) (*connect_go.Response[v1alpha1.CreateUserResponse], error) // GetUser gets a user by ID. GetUser(context.Context, *connect_go.Request[v1alpha1.GetUserRequest]) (*connect_go.Response[v1alpha1.GetUserResponse], error) // GetUserByUsername gets a user by username. GetUserByUsername(context.Context, *connect_go.Request[v1alpha1.GetUserByUsernameRequest]) (*connect_go.Response[v1alpha1.GetUserByUsernameResponse], error) // ListUsers lists all users. ListUsers(context.Context, *connect_go.Request[v1alpha1.ListUsersRequest]) (*connect_go.Response[v1alpha1.ListUsersResponse], error) // ListOrganizationUsers lists all users for an organization. // TODO: #663 move this to organization service ListOrganizationUsers(context.Context, *connect_go.Request[v1alpha1.ListOrganizationUsersRequest]) (*connect_go.Response[v1alpha1.ListOrganizationUsersResponse], error) // DeleteUser deletes a user. DeleteUser(context.Context, *connect_go.Request[v1alpha1.DeleteUserRequest]) (*connect_go.Response[v1alpha1.DeleteUserResponse], error) // Deactivate user deactivates a user. DeactivateUser(context.Context, *connect_go.Request[v1alpha1.DeactivateUserRequest]) (*connect_go.Response[v1alpha1.DeactivateUserResponse], error) // UpdateUserServerRole update the role of an user in the server. UpdateUserServerRole(context.Context, *connect_go.Request[v1alpha1.UpdateUserServerRoleRequest]) (*connect_go.Response[v1alpha1.UpdateUserServerRoleResponse], error) // CountUsers returns the number of users in the server by the user state provided. CountUsers(context.Context, *connect_go.Request[v1alpha1.CountUsersRequest]) (*connect_go.Response[v1alpha1.CountUsersResponse], error) // UpdateUserSettings update the user settings including description. UpdateUserSettings(context.Context, *connect_go.Request[v1alpha1.UpdateUserSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateUserSettingsResponse], error) }
UserServiceClient is a client for the buf.alpha.registry.v1alpha1.UserService service.
func NewUserServiceClient ¶
func NewUserServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) UserServiceClient
NewUserServiceClient constructs a client for the buf.alpha.registry.v1alpha1.UserService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type UserServiceHandler ¶
type UserServiceHandler interface { // CreateUser creates a new user with the given username. CreateUser(context.Context, *connect_go.Request[v1alpha1.CreateUserRequest]) (*connect_go.Response[v1alpha1.CreateUserResponse], error) // GetUser gets a user by ID. GetUser(context.Context, *connect_go.Request[v1alpha1.GetUserRequest]) (*connect_go.Response[v1alpha1.GetUserResponse], error) // GetUserByUsername gets a user by username. GetUserByUsername(context.Context, *connect_go.Request[v1alpha1.GetUserByUsernameRequest]) (*connect_go.Response[v1alpha1.GetUserByUsernameResponse], error) // ListUsers lists all users. ListUsers(context.Context, *connect_go.Request[v1alpha1.ListUsersRequest]) (*connect_go.Response[v1alpha1.ListUsersResponse], error) // ListOrganizationUsers lists all users for an organization. // TODO: #663 move this to organization service ListOrganizationUsers(context.Context, *connect_go.Request[v1alpha1.ListOrganizationUsersRequest]) (*connect_go.Response[v1alpha1.ListOrganizationUsersResponse], error) // DeleteUser deletes a user. DeleteUser(context.Context, *connect_go.Request[v1alpha1.DeleteUserRequest]) (*connect_go.Response[v1alpha1.DeleteUserResponse], error) // Deactivate user deactivates a user. DeactivateUser(context.Context, *connect_go.Request[v1alpha1.DeactivateUserRequest]) (*connect_go.Response[v1alpha1.DeactivateUserResponse], error) // UpdateUserServerRole update the role of an user in the server. UpdateUserServerRole(context.Context, *connect_go.Request[v1alpha1.UpdateUserServerRoleRequest]) (*connect_go.Response[v1alpha1.UpdateUserServerRoleResponse], error) // CountUsers returns the number of users in the server by the user state provided. CountUsers(context.Context, *connect_go.Request[v1alpha1.CountUsersRequest]) (*connect_go.Response[v1alpha1.CountUsersResponse], error) // UpdateUserSettings update the user settings including description. UpdateUserSettings(context.Context, *connect_go.Request[v1alpha1.UpdateUserSettingsRequest]) (*connect_go.Response[v1alpha1.UpdateUserSettingsResponse], error) }
UserServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.UserService service.
type WebhookServiceClient ¶ added in v1.6.0
type WebhookServiceClient interface { // Create a webhook, subscribes to a given repository event for a callback URL // invocation. CreateWebhook(context.Context, *connect_go.Request[v1alpha1.CreateWebhookRequest]) (*connect_go.Response[v1alpha1.CreateWebhookResponse], error) // Delete a webhook removes the event subscription. DeleteWebhook(context.Context, *connect_go.Request[v1alpha1.DeleteWebhookRequest]) (*connect_go.Response[v1alpha1.DeleteWebhookResponse], error) // Lists the webhooks subscriptions for a given repository. ListWebhooks(context.Context, *connect_go.Request[v1alpha1.ListWebhooksRequest]) (*connect_go.Response[v1alpha1.ListWebhooksResponse], error) }
WebhookServiceClient is a client for the buf.alpha.registry.v1alpha1.WebhookService service.
func NewWebhookServiceClient ¶ added in v1.6.0
func NewWebhookServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) WebhookServiceClient
NewWebhookServiceClient constructs a client for the buf.alpha.registry.v1alpha1.WebhookService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type WebhookServiceHandler ¶ added in v1.6.0
type WebhookServiceHandler interface { // Create a webhook, subscribes to a given repository event for a callback URL // invocation. CreateWebhook(context.Context, *connect_go.Request[v1alpha1.CreateWebhookRequest]) (*connect_go.Response[v1alpha1.CreateWebhookResponse], error) // Delete a webhook removes the event subscription. DeleteWebhook(context.Context, *connect_go.Request[v1alpha1.DeleteWebhookRequest]) (*connect_go.Response[v1alpha1.DeleteWebhookResponse], error) // Lists the webhooks subscriptions for a given repository. ListWebhooks(context.Context, *connect_go.Request[v1alpha1.ListWebhooksRequest]) (*connect_go.Response[v1alpha1.ListWebhooksResponse], error) }
WebhookServiceHandler is an implementation of the buf.alpha.registry.v1alpha1.WebhookService service.
Source Files ¶
- admin.connect.go
- authn.connect.go
- authz.connect.go
- convert.connect.go
- display.connect.go
- doc.connect.go
- download.connect.go
- generate.connect.go
- github.connect.go
- image.connect.go
- jsonschema.connect.go
- organization.connect.go
- owner.connect.go
- plugin.connect.go
- plugin_curation.connect.go
- push.connect.go
- recommendation.connect.go
- reference.connect.go
- repository.connect.go
- repository_commit.connect.go
- repository_tag.connect.go
- resolve.connect.go
- resource.connect.go
- schema.connect.go
- search.connect.go
- studio.connect.go
- studio_request.connect.go
- token.connect.go
- usage.gen.go
- user.connect.go
- webhook.connect.go