Documentation ¶
Index ¶
- Constants
- func NewAPIServiceHandler(svc APIServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewBuildpackHelperServiceHandler(svc BuildpackHelperServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewControllerBuilderServiceHandler(svc ControllerBuilderServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewControllerGiteaIntegrationServiceHandler(svc ControllerGiteaIntegrationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewControllerSSGenServiceHandler(svc ControllerSSGenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewControllerServiceHandler(svc ControllerServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type APIServiceClient
- type APIServiceHandler
- type BuildpackHelperServiceClient
- type BuildpackHelperServiceHandler
- type ControllerBuilderServiceClient
- type ControllerBuilderServiceHandler
- type ControllerGiteaIntegrationServiceClient
- type ControllerGiteaIntegrationServiceHandler
- type ControllerSSGenServiceClient
- type ControllerSSGenServiceHandler
- type ControllerServiceClient
- type ControllerServiceHandler
- type UnimplementedAPIServiceHandler
- func (UnimplementedAPIServiceHandler) CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) CreateApplication(context.Context, *connect.Request[pb.CreateApplicationRequest]) (*connect.Response[pb.Application], error)
- func (UnimplementedAPIServiceHandler) CreateRepository(context.Context, *connect.Request[pb.CreateRepositoryRequest]) (*connect.Response[pb.Repository], error)
- func (UnimplementedAPIServiceHandler) CreateUserKey(context.Context, *connect.Request[pb.CreateUserKeyRequest]) (*connect.Response[pb.UserKey], error)
- func (UnimplementedAPIServiceHandler) DeleteApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteEnvVar(context.Context, *connect.Request[pb.DeleteApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteUserKey(context.Context, *connect.Request[pb.DeleteUserKeyRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) GenerateKeyPair(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GenerateKeyPairResponse], error)
- func (UnimplementedAPIServiceHandler) GetAllBuilds(context.Context, *connect.Request[pb.GetAllBuildsRequest]) (*connect.Response[pb.GetBuildsResponse], error)
- func (UnimplementedAPIServiceHandler) GetApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.Application], error)
- func (UnimplementedAPIServiceHandler) GetApplicationMetrics(context.Context, *connect.Request[pb.GetApplicationMetricsRequest]) (*connect.Response[pb.ApplicationMetrics], error)
- func (UnimplementedAPIServiceHandler) GetApplications(context.Context, *connect.Request[pb.GetApplicationsRequest]) (*connect.Response[pb.GetApplicationsResponse], error)
- func (UnimplementedAPIServiceHandler) GetAvailableMetrics(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.AvailableMetrics], error)
- func (UnimplementedAPIServiceHandler) GetBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.Build], error)
- func (UnimplementedAPIServiceHandler) GetBuildArtifact(context.Context, *connect.Request[pb.ArtifactIdRequest]) (*connect.Response[pb.ArtifactContent], error)
- func (UnimplementedAPIServiceHandler) GetBuildLog(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.BuildLog], error)
- func (UnimplementedAPIServiceHandler) GetBuildLogStream(context.Context, *connect.Request[pb.BuildIdRequest], ...) error
- func (UnimplementedAPIServiceHandler) GetBuilds(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.GetBuildsResponse], error)
- func (UnimplementedAPIServiceHandler) GetEnvVars(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.ApplicationEnvVars], error)
- func (UnimplementedAPIServiceHandler) GetMe(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.User], error)
- func (UnimplementedAPIServiceHandler) GetOutput(context.Context, *connect.Request[pb.GetOutputRequest]) (*connect.Response[pb.ApplicationOutputs], error)
- func (UnimplementedAPIServiceHandler) GetOutputStream(context.Context, *connect.Request[pb.GetOutputStreamRequest], ...) error
- func (UnimplementedAPIServiceHandler) GetRepositories(context.Context, *connect.Request[pb.GetRepositoriesRequest]) (*connect.Response[pb.GetRepositoriesResponse], error)
- func (UnimplementedAPIServiceHandler) GetRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.Repository], error)
- func (UnimplementedAPIServiceHandler) GetRepositoryCommits(context.Context, *connect.Request[pb.GetRepositoryCommitsRequest]) (*connect.Response[pb.GetRepositoryCommitsResponse], error)
- func (UnimplementedAPIServiceHandler) GetRepositoryRefs(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.GetRepositoryRefsResponse], error)
- func (UnimplementedAPIServiceHandler) GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error)
- func (UnimplementedAPIServiceHandler) GetUserKeys(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUserKeysResponse], error)
- func (UnimplementedAPIServiceHandler) GetUsers(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUsersResponse], error)
- func (UnimplementedAPIServiceHandler) RefreshRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) RetryCommitBuild(context.Context, *connect.Request[pb.RetryCommitBuildRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) SetEnvVar(context.Context, *connect.Request[pb.SetApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) StartApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) StopApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) UpdateApplication(context.Context, *connect.Request[pb.UpdateApplicationRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) UpdateRepository(context.Context, *connect.Request[pb.UpdateRepositoryRequest]) (*connect.Response[emptypb.Empty], error)
- type UnimplementedBuildpackHelperServiceHandler
- type UnimplementedControllerBuilderServiceHandler
- func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder(context.Context, *connect.BidiStream[pb.BuilderResponse, pb.BuilderRequest]) error
- func (UnimplementedControllerBuilderServiceHandler) GetBuilderSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.BuilderSystemInfo], error)
- func (UnimplementedControllerBuilderServiceHandler) PingBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerBuilderServiceHandler) SaveArtifact(context.Context, *connect.Request[pb.SaveArtifactRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerBuilderServiceHandler) SaveBuildLog(context.Context, *connect.Request[pb.SaveBuildLogRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerBuilderServiceHandler) SaveRuntimeImage(context.Context, *connect.Request[pb.SaveRuntimeImageRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerBuilderServiceHandler) StreamBuildLog(context.Context, *connect.ClientStream[pb.BuildLogPortion]) (*connect.Response[emptypb.Empty], error)
- type UnimplementedControllerGiteaIntegrationServiceHandler
- type UnimplementedControllerSSGenServiceHandler
- type UnimplementedControllerServiceHandler
- func (UnimplementedControllerServiceHandler) CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) FetchRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error)
- func (UnimplementedControllerServiceHandler) RegisterBuild(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) StreamBuildLog(context.Context, *connect.Request[pb.BuildIdRequest], ...) error
- func (UnimplementedControllerServiceHandler) SyncDeployments(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[emptypb.Empty], error)
Constants ¶
const ( // ControllerServiceName is the fully-qualified name of the ControllerService service. ControllerServiceName = "neoshowcase.protobuf.ControllerService" // ControllerBuilderServiceName is the fully-qualified name of the ControllerBuilderService service. ControllerBuilderServiceName = "neoshowcase.protobuf.ControllerBuilderService" // BuildpackHelperServiceName is the fully-qualified name of the BuildpackHelperService service. BuildpackHelperServiceName = "neoshowcase.protobuf.BuildpackHelperService" // ControllerSSGenServiceName is the fully-qualified name of the ControllerSSGenService service. ControllerSSGenServiceName = "neoshowcase.protobuf.ControllerSSGenService" // ControllerGiteaIntegrationServiceName is the fully-qualified name of the // ControllerGiteaIntegrationService service. ControllerGiteaIntegrationServiceName = "neoshowcase.protobuf.ControllerGiteaIntegrationService" )
const ( // ControllerServiceGetSystemInfoProcedure is the fully-qualified name of the ControllerService's // GetSystemInfo RPC. ControllerServiceGetSystemInfoProcedure = "/neoshowcase.protobuf.ControllerService/GetSystemInfo" // ControllerServiceFetchRepositoryProcedure is the fully-qualified name of the ControllerService's // FetchRepository RPC. ControllerServiceFetchRepositoryProcedure = "/neoshowcase.protobuf.ControllerService/FetchRepository" // ControllerServiceRegisterBuildProcedure is the fully-qualified name of the ControllerService's // RegisterBuild RPC. ControllerServiceRegisterBuildProcedure = "/neoshowcase.protobuf.ControllerService/RegisterBuild" // ControllerServiceSyncDeploymentsProcedure is the fully-qualified name of the ControllerService's // SyncDeployments RPC. ControllerServiceSyncDeploymentsProcedure = "/neoshowcase.protobuf.ControllerService/SyncDeployments" // ControllerServiceStreamBuildLogProcedure is the fully-qualified name of the ControllerService's // StreamBuildLog RPC. ControllerServiceStreamBuildLogProcedure = "/neoshowcase.protobuf.ControllerService/StreamBuildLog" // ControllerServiceCancelBuildProcedure is the fully-qualified name of the ControllerService's // CancelBuild RPC. ControllerServiceCancelBuildProcedure = "/neoshowcase.protobuf.ControllerService/CancelBuild" // ControllerBuilderServiceGetBuilderSystemInfoProcedure is the fully-qualified name of the // ControllerBuilderService's GetBuilderSystemInfo RPC. ControllerBuilderServiceGetBuilderSystemInfoProcedure = "/neoshowcase.protobuf.ControllerBuilderService/GetBuilderSystemInfo" // ControllerBuilderServicePingBuildProcedure is the fully-qualified name of the // ControllerBuilderService's PingBuild RPC. ControllerBuilderServicePingBuildProcedure = "/neoshowcase.protobuf.ControllerBuilderService/PingBuild" // ControllerBuilderServiceStreamBuildLogProcedure is the fully-qualified name of the // ControllerBuilderService's StreamBuildLog RPC. ControllerBuilderServiceStreamBuildLogProcedure = "/neoshowcase.protobuf.ControllerBuilderService/StreamBuildLog" // ControllerBuilderServiceSaveArtifactProcedure is the fully-qualified name of the // ControllerBuilderService's SaveArtifact RPC. ControllerBuilderServiceSaveArtifactProcedure = "/neoshowcase.protobuf.ControllerBuilderService/SaveArtifact" // ControllerBuilderServiceSaveBuildLogProcedure is the fully-qualified name of the // ControllerBuilderService's SaveBuildLog RPC. ControllerBuilderServiceSaveBuildLogProcedure = "/neoshowcase.protobuf.ControllerBuilderService/SaveBuildLog" // ControllerBuilderServiceSaveRuntimeImageProcedure is the fully-qualified name of the // ControllerBuilderService's SaveRuntimeImage RPC. ControllerBuilderServiceSaveRuntimeImageProcedure = "/neoshowcase.protobuf.ControllerBuilderService/SaveRuntimeImage" // ControllerBuilderServiceConnectBuilderProcedure is the fully-qualified name of the // ControllerBuilderService's ConnectBuilder RPC. ControllerBuilderServiceConnectBuilderProcedure = "/neoshowcase.protobuf.ControllerBuilderService/ConnectBuilder" // BuildpackHelperServiceCopyFileTreeProcedure is the fully-qualified name of the // BuildpackHelperService's CopyFileTree RPC. BuildpackHelperServiceCopyFileTreeProcedure = "/neoshowcase.protobuf.BuildpackHelperService/CopyFileTree" // BuildpackHelperServiceExecProcedure is the fully-qualified name of the BuildpackHelperService's // Exec RPC. BuildpackHelperServiceExecProcedure = "/neoshowcase.protobuf.BuildpackHelperService/Exec" // ControllerSSGenServiceConnectSSGenProcedure is the fully-qualified name of the // ControllerSSGenService's ConnectSSGen RPC. ControllerSSGenServiceConnectSSGenProcedure = "/neoshowcase.protobuf.ControllerSSGenService/ConnectSSGen" // ControllerGiteaIntegrationServiceConnectProcedure is the fully-qualified name of the // ControllerGiteaIntegrationService's Connect RPC. ControllerGiteaIntegrationServiceConnectProcedure = "/neoshowcase.protobuf.ControllerGiteaIntegrationService/Connect" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // APIServiceGetSystemInfoProcedure is the fully-qualified name of the APIService's GetSystemInfo // RPC. APIServiceGetSystemInfoProcedure = "/neoshowcase.protobuf.APIService/GetSystemInfo" // APIServiceGenerateKeyPairProcedure is the fully-qualified name of the APIService's // GenerateKeyPair RPC. APIServiceGenerateKeyPairProcedure = "/neoshowcase.protobuf.APIService/GenerateKeyPair" // APIServiceGetMeProcedure is the fully-qualified name of the APIService's GetMe RPC. APIServiceGetMeProcedure = "/neoshowcase.protobuf.APIService/GetMe" // APIServiceGetUsersProcedure is the fully-qualified name of the APIService's GetUsers RPC. APIServiceGetUsersProcedure = "/neoshowcase.protobuf.APIService/GetUsers" // APIServiceCreateUserKeyProcedure is the fully-qualified name of the APIService's CreateUserKey // RPC. APIServiceCreateUserKeyProcedure = "/neoshowcase.protobuf.APIService/CreateUserKey" // APIServiceGetUserKeysProcedure is the fully-qualified name of the APIService's GetUserKeys RPC. APIServiceGetUserKeysProcedure = "/neoshowcase.protobuf.APIService/GetUserKeys" // APIServiceDeleteUserKeyProcedure is the fully-qualified name of the APIService's DeleteUserKey // RPC. APIServiceDeleteUserKeyProcedure = "/neoshowcase.protobuf.APIService/DeleteUserKey" // APIServiceCreateRepositoryProcedure is the fully-qualified name of the APIService's // CreateRepository RPC. APIServiceCreateRepositoryProcedure = "/neoshowcase.protobuf.APIService/CreateRepository" // APIServiceGetRepositoriesProcedure is the fully-qualified name of the APIService's // GetRepositories RPC. APIServiceGetRepositoriesProcedure = "/neoshowcase.protobuf.APIService/GetRepositories" // APIServiceGetRepositoryCommitsProcedure is the fully-qualified name of the APIService's // GetRepositoryCommits RPC. APIServiceGetRepositoryCommitsProcedure = "/neoshowcase.protobuf.APIService/GetRepositoryCommits" // APIServiceGetRepositoryProcedure is the fully-qualified name of the APIService's GetRepository // RPC. APIServiceGetRepositoryProcedure = "/neoshowcase.protobuf.APIService/GetRepository" // APIServiceGetRepositoryRefsProcedure is the fully-qualified name of the APIService's // GetRepositoryRefs RPC. APIServiceGetRepositoryRefsProcedure = "/neoshowcase.protobuf.APIService/GetRepositoryRefs" // APIServiceUpdateRepositoryProcedure is the fully-qualified name of the APIService's // UpdateRepository RPC. APIServiceUpdateRepositoryProcedure = "/neoshowcase.protobuf.APIService/UpdateRepository" // APIServiceRefreshRepositoryProcedure is the fully-qualified name of the APIService's // RefreshRepository RPC. APIServiceRefreshRepositoryProcedure = "/neoshowcase.protobuf.APIService/RefreshRepository" // APIServiceDeleteRepositoryProcedure is the fully-qualified name of the APIService's // DeleteRepository RPC. APIServiceDeleteRepositoryProcedure = "/neoshowcase.protobuf.APIService/DeleteRepository" // APIServiceCreateApplicationProcedure is the fully-qualified name of the APIService's // CreateApplication RPC. APIServiceCreateApplicationProcedure = "/neoshowcase.protobuf.APIService/CreateApplication" // APIServiceGetApplicationsProcedure is the fully-qualified name of the APIService's // GetApplications RPC. APIServiceGetApplicationsProcedure = "/neoshowcase.protobuf.APIService/GetApplications" // APIServiceGetApplicationProcedure is the fully-qualified name of the APIService's GetApplication // RPC. APIServiceGetApplicationProcedure = "/neoshowcase.protobuf.APIService/GetApplication" // APIServiceUpdateApplicationProcedure is the fully-qualified name of the APIService's // UpdateApplication RPC. APIServiceUpdateApplicationProcedure = "/neoshowcase.protobuf.APIService/UpdateApplication" // APIServiceDeleteApplicationProcedure is the fully-qualified name of the APIService's // DeleteApplication RPC. APIServiceDeleteApplicationProcedure = "/neoshowcase.protobuf.APIService/DeleteApplication" // APIServiceGetAvailableMetricsProcedure is the fully-qualified name of the APIService's // GetAvailableMetrics RPC. APIServiceGetAvailableMetricsProcedure = "/neoshowcase.protobuf.APIService/GetAvailableMetrics" // APIServiceGetApplicationMetricsProcedure is the fully-qualified name of the APIService's // GetApplicationMetrics RPC. APIServiceGetApplicationMetricsProcedure = "/neoshowcase.protobuf.APIService/GetApplicationMetrics" // APIServiceGetOutputProcedure is the fully-qualified name of the APIService's GetOutput RPC. APIServiceGetOutputProcedure = "/neoshowcase.protobuf.APIService/GetOutput" // APIServiceGetOutputStreamProcedure is the fully-qualified name of the APIService's // GetOutputStream RPC. APIServiceGetOutputStreamProcedure = "/neoshowcase.protobuf.APIService/GetOutputStream" // APIServiceGetEnvVarsProcedure is the fully-qualified name of the APIService's GetEnvVars RPC. APIServiceGetEnvVarsProcedure = "/neoshowcase.protobuf.APIService/GetEnvVars" // APIServiceSetEnvVarProcedure is the fully-qualified name of the APIService's SetEnvVar RPC. APIServiceSetEnvVarProcedure = "/neoshowcase.protobuf.APIService/SetEnvVar" // APIServiceDeleteEnvVarProcedure is the fully-qualified name of the APIService's DeleteEnvVar RPC. APIServiceDeleteEnvVarProcedure = "/neoshowcase.protobuf.APIService/DeleteEnvVar" // APIServiceStartApplicationProcedure is the fully-qualified name of the APIService's // StartApplication RPC. APIServiceStartApplicationProcedure = "/neoshowcase.protobuf.APIService/StartApplication" // APIServiceStopApplicationProcedure is the fully-qualified name of the APIService's // StopApplication RPC. APIServiceStopApplicationProcedure = "/neoshowcase.protobuf.APIService/StopApplication" // APIServiceGetAllBuildsProcedure is the fully-qualified name of the APIService's GetAllBuilds RPC. APIServiceGetAllBuildsProcedure = "/neoshowcase.protobuf.APIService/GetAllBuilds" // APIServiceGetBuildsProcedure is the fully-qualified name of the APIService's GetBuilds RPC. APIServiceGetBuildsProcedure = "/neoshowcase.protobuf.APIService/GetBuilds" // APIServiceGetBuildProcedure is the fully-qualified name of the APIService's GetBuild RPC. APIServiceGetBuildProcedure = "/neoshowcase.protobuf.APIService/GetBuild" // APIServiceRetryCommitBuildProcedure is the fully-qualified name of the APIService's // RetryCommitBuild RPC. APIServiceRetryCommitBuildProcedure = "/neoshowcase.protobuf.APIService/RetryCommitBuild" // APIServiceCancelBuildProcedure is the fully-qualified name of the APIService's CancelBuild RPC. APIServiceCancelBuildProcedure = "/neoshowcase.protobuf.APIService/CancelBuild" // APIServiceGetBuildLogProcedure is the fully-qualified name of the APIService's GetBuildLog RPC. APIServiceGetBuildLogProcedure = "/neoshowcase.protobuf.APIService/GetBuildLog" // APIServiceGetBuildLogStreamProcedure is the fully-qualified name of the APIService's // GetBuildLogStream RPC. APIServiceGetBuildLogStreamProcedure = "/neoshowcase.protobuf.APIService/GetBuildLogStream" // APIServiceGetBuildArtifactProcedure is the fully-qualified name of the APIService's // GetBuildArtifact RPC. APIServiceGetBuildArtifactProcedure = "/neoshowcase.protobuf.APIService/GetBuildArtifact" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// APIServiceName is the fully-qualified name of the APIService service.
APIServiceName = "neoshowcase.protobuf.APIService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAPIServiceHandler ¶
func NewAPIServiceHandler(svc APIServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAPIServiceHandler 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 NewBuildpackHelperServiceHandler ¶ added in v1.1.0
func NewBuildpackHelperServiceHandler(svc BuildpackHelperServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewBuildpackHelperServiceHandler 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 NewControllerBuilderServiceHandler ¶
func NewControllerBuilderServiceHandler(svc ControllerBuilderServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewControllerBuilderServiceHandler 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 NewControllerGiteaIntegrationServiceHandler ¶ added in v0.22.0
func NewControllerGiteaIntegrationServiceHandler(svc ControllerGiteaIntegrationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewControllerGiteaIntegrationServiceHandler 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 NewControllerSSGenServiceHandler ¶
func NewControllerSSGenServiceHandler(svc ControllerSSGenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewControllerSSGenServiceHandler 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 NewControllerServiceHandler ¶
func NewControllerServiceHandler(svc ControllerServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewControllerServiceHandler 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 APIServiceClient ¶
type APIServiceClient interface { // GetSystemInfo システム固有情報を取得します GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error) // GenerateKeyPair リポジトリ登録で使用する鍵ペアを一時的に生成します GenerateKeyPair(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GenerateKeyPairResponse], error) // GetMe 自身の情報を取得します プロキシ認証のため常に成功します GetMe(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.User], error) // GetUsers 全てのユーザーの情報を取得します GetUsers(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUsersResponse], error) // CreateUserKey アプリコンテナSSH用の公開鍵を登録します CreateUserKey(context.Context, *connect.Request[pb.CreateUserKeyRequest]) (*connect.Response[pb.UserKey], error) // GetUserKeys 登録した公開鍵一覧を取得します GetUserKeys(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUserKeysResponse], error) // DeleteUserKey 登録した公開鍵を削除します DeleteUserKey(context.Context, *connect.Request[pb.DeleteUserKeyRequest]) (*connect.Response[emptypb.Empty], error) // CreateRepository リポジトリを登録します CreateRepository(context.Context, *connect.Request[pb.CreateRepositoryRequest]) (*connect.Response[pb.Repository], error) // GetRepositories リポジトリ一覧を取得します GetRepositories(context.Context, *connect.Request[pb.GetRepositoriesRequest]) (*connect.Response[pb.GetRepositoriesResponse], error) // GetRepositoryCommits コミットのメタ情報を取得します GetRepositoryCommits(context.Context, *connect.Request[pb.GetRepositoryCommitsRequest]) (*connect.Response[pb.GetRepositoryCommitsResponse], error) // GetRepository リポジトリを取得します GetRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.Repository], error) // GetRepositoryRefs リポジトリの現在の有効なref一覧を取得します GetRepositoryRefs(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.GetRepositoryRefsResponse], error) // UpdateRepository リポジトリ情報を更新します UpdateRepository(context.Context, *connect.Request[pb.UpdateRepositoryRequest]) (*connect.Response[emptypb.Empty], error) // RefreshRepository 自動更新間隔を待たず、手動でリモートリポジトリの最新情報に追従させます RefreshRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) // DeleteRepository リポジトリを削除します 関連する全てのアプリケーションの削除が必要です DeleteRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) // CreateApplication アプリを作成します CreateApplication(context.Context, *connect.Request[pb.CreateApplicationRequest]) (*connect.Response[pb.Application], error) // GetApplications アプリ一覧を取得します GetApplications(context.Context, *connect.Request[pb.GetApplicationsRequest]) (*connect.Response[pb.GetApplicationsResponse], error) // GetApplication アプリを取得します GetApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.Application], error) // UpdateApplication アプリ情報を更新します UpdateApplication(context.Context, *connect.Request[pb.UpdateApplicationRequest]) (*connect.Response[emptypb.Empty], error) // DeleteApplication アプリを削除します 先にアプリのシャットダウンが必要です DeleteApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // GetAvailableMetrics 取得可能メトリクス一覧を取得します GetAvailableMetrics(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.AvailableMetrics], error) // GetApplicationMetrics アプリのメトリクスを取得します GetApplicationMetrics(context.Context, *connect.Request[pb.GetApplicationMetricsRequest]) (*connect.Response[pb.ApplicationMetrics], error) // GetOutput アプリの出力を取得します GetOutput(context.Context, *connect.Request[pb.GetOutputRequest]) (*connect.Response[pb.ApplicationOutputs], error) // GetOutputStream アプリの出力をストリーム形式で取得します GetOutputStream(context.Context, *connect.Request[pb.GetOutputStreamRequest]) (*connect.ServerStreamForClient[pb.ApplicationOutput], error) // GetEnvVars アプリの環境変数を取得します GetEnvVars(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.ApplicationEnvVars], error) // SetEnvVar アプリの環境変数をセットします システムによって設定された環境変数は上書きできません SetEnvVar(context.Context, *connect.Request[pb.SetApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error) // DeleteEnvVar アプリの環境変数を削除します システムによって設定された環境変数は削除できません DeleteEnvVar(context.Context, *connect.Request[pb.DeleteApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error) // StartApplication アプリを起動します 起動中の場合は再起動します StartApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // StopApplication アプリをシャットダウンします StopApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // GetAllBuilds すべてのアプリケーションのビルドキューを取得します GetAllBuilds(context.Context, *connect.Request[pb.GetAllBuildsRequest]) (*connect.Response[pb.GetBuildsResponse], error) // GetBuilds アプリのビルド一覧を取得します GetBuilds(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.GetBuildsResponse], error) // GetBuild アプリのビルド情報を取得します GetBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.Build], error) // RetryCommitBuild アプリの該当コミットのビルドをやり直します RetryCommitBuild(context.Context, *connect.Request[pb.RetryCommitBuildRequest]) (*connect.Response[emptypb.Empty], error) // CancelBuild 該当ビルドが進行中の場合キャンセルします CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) // GetBuildLog 終了したビルドのログを取得します GetBuildLog(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.BuildLog], error) // GetBuildLogStream ビルド中のログをストリーム形式で取得します GetBuildLogStream(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.ServerStreamForClient[pb.BuildLog], error) // GetBuildArtifact 静的サイトアプリの場合ビルド成果物(静的ファイルのtar)を取得します GetBuildArtifact(context.Context, *connect.Request[pb.ArtifactIdRequest]) (*connect.Response[pb.ArtifactContent], error) }
APIServiceClient is a client for the neoshowcase.protobuf.APIService service.
func NewAPIServiceClient ¶
func NewAPIServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) APIServiceClient
NewAPIServiceClient constructs a client for the neoshowcase.protobuf.APIService 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 APIServiceHandler ¶
type APIServiceHandler interface { // GetSystemInfo システム固有情報を取得します GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error) // GenerateKeyPair リポジトリ登録で使用する鍵ペアを一時的に生成します GenerateKeyPair(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GenerateKeyPairResponse], error) // GetMe 自身の情報を取得します プロキシ認証のため常に成功します GetMe(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.User], error) // GetUsers 全てのユーザーの情報を取得します GetUsers(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUsersResponse], error) // CreateUserKey アプリコンテナSSH用の公開鍵を登録します CreateUserKey(context.Context, *connect.Request[pb.CreateUserKeyRequest]) (*connect.Response[pb.UserKey], error) // GetUserKeys 登録した公開鍵一覧を取得します GetUserKeys(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.GetUserKeysResponse], error) // DeleteUserKey 登録した公開鍵を削除します DeleteUserKey(context.Context, *connect.Request[pb.DeleteUserKeyRequest]) (*connect.Response[emptypb.Empty], error) // CreateRepository リポジトリを登録します CreateRepository(context.Context, *connect.Request[pb.CreateRepositoryRequest]) (*connect.Response[pb.Repository], error) // GetRepositories リポジトリ一覧を取得します GetRepositories(context.Context, *connect.Request[pb.GetRepositoriesRequest]) (*connect.Response[pb.GetRepositoriesResponse], error) // GetRepositoryCommits コミットのメタ情報を取得します GetRepositoryCommits(context.Context, *connect.Request[pb.GetRepositoryCommitsRequest]) (*connect.Response[pb.GetRepositoryCommitsResponse], error) // GetRepository リポジトリを取得します GetRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.Repository], error) // GetRepositoryRefs リポジトリの現在の有効なref一覧を取得します GetRepositoryRefs(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.GetRepositoryRefsResponse], error) // UpdateRepository リポジトリ情報を更新します UpdateRepository(context.Context, *connect.Request[pb.UpdateRepositoryRequest]) (*connect.Response[emptypb.Empty], error) // RefreshRepository 自動更新間隔を待たず、手動でリモートリポジトリの最新情報に追従させます RefreshRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) // DeleteRepository リポジトリを削除します 関連する全てのアプリケーションの削除が必要です DeleteRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) // CreateApplication アプリを作成します CreateApplication(context.Context, *connect.Request[pb.CreateApplicationRequest]) (*connect.Response[pb.Application], error) // GetApplications アプリ一覧を取得します GetApplications(context.Context, *connect.Request[pb.GetApplicationsRequest]) (*connect.Response[pb.GetApplicationsResponse], error) // GetApplication アプリを取得します GetApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.Application], error) // UpdateApplication アプリ情報を更新します UpdateApplication(context.Context, *connect.Request[pb.UpdateApplicationRequest]) (*connect.Response[emptypb.Empty], error) // DeleteApplication アプリを削除します 先にアプリのシャットダウンが必要です DeleteApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // GetAvailableMetrics 取得可能メトリクス一覧を取得します GetAvailableMetrics(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.AvailableMetrics], error) // GetApplicationMetrics アプリのメトリクスを取得します GetApplicationMetrics(context.Context, *connect.Request[pb.GetApplicationMetricsRequest]) (*connect.Response[pb.ApplicationMetrics], error) // GetOutput アプリの出力を取得します GetOutput(context.Context, *connect.Request[pb.GetOutputRequest]) (*connect.Response[pb.ApplicationOutputs], error) // GetOutputStream アプリの出力をストリーム形式で取得します GetOutputStream(context.Context, *connect.Request[pb.GetOutputStreamRequest], *connect.ServerStream[pb.ApplicationOutput]) error // GetEnvVars アプリの環境変数を取得します GetEnvVars(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.ApplicationEnvVars], error) // SetEnvVar アプリの環境変数をセットします システムによって設定された環境変数は上書きできません SetEnvVar(context.Context, *connect.Request[pb.SetApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error) // DeleteEnvVar アプリの環境変数を削除します システムによって設定された環境変数は削除できません DeleteEnvVar(context.Context, *connect.Request[pb.DeleteApplicationEnvVarRequest]) (*connect.Response[emptypb.Empty], error) // StartApplication アプリを起動します 起動中の場合は再起動します StartApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // StopApplication アプリをシャットダウンします StopApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) // GetAllBuilds すべてのアプリケーションのビルドキューを取得します GetAllBuilds(context.Context, *connect.Request[pb.GetAllBuildsRequest]) (*connect.Response[pb.GetBuildsResponse], error) // GetBuilds アプリのビルド一覧を取得します GetBuilds(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.GetBuildsResponse], error) // GetBuild アプリのビルド情報を取得します GetBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.Build], error) // RetryCommitBuild アプリの該当コミットのビルドをやり直します RetryCommitBuild(context.Context, *connect.Request[pb.RetryCommitBuildRequest]) (*connect.Response[emptypb.Empty], error) // CancelBuild 該当ビルドが進行中の場合キャンセルします CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) // GetBuildLog 終了したビルドのログを取得します GetBuildLog(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[pb.BuildLog], error) // GetBuildLogStream ビルド中のログをストリーム形式で取得します GetBuildLogStream(context.Context, *connect.Request[pb.BuildIdRequest], *connect.ServerStream[pb.BuildLog]) error // GetBuildArtifact 静的サイトアプリの場合ビルド成果物(静的ファイルのtar)を取得します GetBuildArtifact(context.Context, *connect.Request[pb.ArtifactIdRequest]) (*connect.Response[pb.ArtifactContent], error) }
APIServiceHandler is an implementation of the neoshowcase.protobuf.APIService service.
type BuildpackHelperServiceClient ¶ added in v1.1.0
type BuildpackHelperServiceClient interface { CopyFileTree(context.Context, *connect.Request[pb.CopyFileTreeRequest]) (*connect.Response[emptypb.Empty], error) Exec(context.Context, *connect.Request[pb.HelperExecRequest]) (*connect.ServerStreamForClient[pb.HelperExecResponse], error) }
BuildpackHelperServiceClient is a client for the neoshowcase.protobuf.BuildpackHelperService service.
func NewBuildpackHelperServiceClient ¶ added in v1.1.0
func NewBuildpackHelperServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) BuildpackHelperServiceClient
NewBuildpackHelperServiceClient constructs a client for the neoshowcase.protobuf.BuildpackHelperService 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 BuildpackHelperServiceHandler ¶ added in v1.1.0
type BuildpackHelperServiceHandler interface { CopyFileTree(context.Context, *connect.Request[pb.CopyFileTreeRequest]) (*connect.Response[emptypb.Empty], error) Exec(context.Context, *connect.Request[pb.HelperExecRequest], *connect.ServerStream[pb.HelperExecResponse]) error }
BuildpackHelperServiceHandler is an implementation of the neoshowcase.protobuf.BuildpackHelperService service.
type ControllerBuilderServiceClient ¶
type ControllerBuilderServiceClient interface { GetBuilderSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.BuilderSystemInfo], error) PingBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) StreamBuildLog(context.Context) *connect.ClientStreamForClient[pb.BuildLogPortion, emptypb.Empty] SaveArtifact(context.Context, *connect.Request[pb.SaveArtifactRequest]) (*connect.Response[emptypb.Empty], error) SaveBuildLog(context.Context, *connect.Request[pb.SaveBuildLogRequest]) (*connect.Response[emptypb.Empty], error) SaveRuntimeImage(context.Context, *connect.Request[pb.SaveRuntimeImageRequest]) (*connect.Response[emptypb.Empty], error) ConnectBuilder(context.Context) *connect.BidiStreamForClient[pb.BuilderResponse, pb.BuilderRequest] }
ControllerBuilderServiceClient is a client for the neoshowcase.protobuf.ControllerBuilderService service.
func NewControllerBuilderServiceClient ¶
func NewControllerBuilderServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ControllerBuilderServiceClient
NewControllerBuilderServiceClient constructs a client for the neoshowcase.protobuf.ControllerBuilderService 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 ControllerBuilderServiceHandler ¶
type ControllerBuilderServiceHandler interface { GetBuilderSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.BuilderSystemInfo], error) PingBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) StreamBuildLog(context.Context, *connect.ClientStream[pb.BuildLogPortion]) (*connect.Response[emptypb.Empty], error) SaveArtifact(context.Context, *connect.Request[pb.SaveArtifactRequest]) (*connect.Response[emptypb.Empty], error) SaveBuildLog(context.Context, *connect.Request[pb.SaveBuildLogRequest]) (*connect.Response[emptypb.Empty], error) SaveRuntimeImage(context.Context, *connect.Request[pb.SaveRuntimeImageRequest]) (*connect.Response[emptypb.Empty], error) ConnectBuilder(context.Context, *connect.BidiStream[pb.BuilderResponse, pb.BuilderRequest]) error }
ControllerBuilderServiceHandler is an implementation of the neoshowcase.protobuf.ControllerBuilderService service.
type ControllerGiteaIntegrationServiceClient ¶ added in v0.22.0
type ControllerGiteaIntegrationServiceClient interface {
Connect(context.Context, *connect.Request[emptypb.Empty]) (*connect.ServerStreamForClient[pb.GiteaIntegrationRequest], error)
}
ControllerGiteaIntegrationServiceClient is a client for the neoshowcase.protobuf.ControllerGiteaIntegrationService service.
func NewControllerGiteaIntegrationServiceClient ¶ added in v0.22.0
func NewControllerGiteaIntegrationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ControllerGiteaIntegrationServiceClient
NewControllerGiteaIntegrationServiceClient constructs a client for the neoshowcase.protobuf.ControllerGiteaIntegrationService 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 ControllerGiteaIntegrationServiceHandler ¶ added in v0.22.0
type ControllerGiteaIntegrationServiceHandler interface {
Connect(context.Context, *connect.Request[emptypb.Empty], *connect.ServerStream[pb.GiteaIntegrationRequest]) error
}
ControllerGiteaIntegrationServiceHandler is an implementation of the neoshowcase.protobuf.ControllerGiteaIntegrationService service.
type ControllerSSGenServiceClient ¶
type ControllerSSGenServiceClient interface {
ConnectSSGen(context.Context, *connect.Request[emptypb.Empty]) (*connect.ServerStreamForClient[pb.SSGenRequest], error)
}
ControllerSSGenServiceClient is a client for the neoshowcase.protobuf.ControllerSSGenService service.
func NewControllerSSGenServiceClient ¶
func NewControllerSSGenServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ControllerSSGenServiceClient
NewControllerSSGenServiceClient constructs a client for the neoshowcase.protobuf.ControllerSSGenService 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 ControllerSSGenServiceHandler ¶
type ControllerSSGenServiceHandler interface {
ConnectSSGen(context.Context, *connect.Request[emptypb.Empty], *connect.ServerStream[pb.SSGenRequest]) error
}
ControllerSSGenServiceHandler is an implementation of the neoshowcase.protobuf.ControllerSSGenService service.
type ControllerServiceClient ¶
type ControllerServiceClient interface { GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error) FetchRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) RegisterBuild(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) SyncDeployments(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[emptypb.Empty], error) StreamBuildLog(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.ServerStreamForClient[pb.BuildLog], error) CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) }
ControllerServiceClient is a client for the neoshowcase.protobuf.ControllerService service.
func NewControllerServiceClient ¶
func NewControllerServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ControllerServiceClient
NewControllerServiceClient constructs a client for the neoshowcase.protobuf.ControllerService 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 ControllerServiceHandler ¶
type ControllerServiceHandler interface { GetSystemInfo(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[pb.SystemInfo], error) FetchRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[emptypb.Empty], error) RegisterBuild(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[emptypb.Empty], error) SyncDeployments(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[emptypb.Empty], error) StreamBuildLog(context.Context, *connect.Request[pb.BuildIdRequest], *connect.ServerStream[pb.BuildLog]) error CancelBuild(context.Context, *connect.Request[pb.BuildIdRequest]) (*connect.Response[emptypb.Empty], error) }
ControllerServiceHandler is an implementation of the neoshowcase.protobuf.ControllerService service.
type UnimplementedAPIServiceHandler ¶
type UnimplementedAPIServiceHandler struct{}
UnimplementedAPIServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAPIServiceHandler) CancelBuild ¶
func (UnimplementedAPIServiceHandler) CreateApplication ¶
func (UnimplementedAPIServiceHandler) CreateApplication(context.Context, *connect.Request[pb.CreateApplicationRequest]) (*connect.Response[pb.Application], error)
func (UnimplementedAPIServiceHandler) CreateRepository ¶
func (UnimplementedAPIServiceHandler) CreateRepository(context.Context, *connect.Request[pb.CreateRepositoryRequest]) (*connect.Response[pb.Repository], error)
func (UnimplementedAPIServiceHandler) CreateUserKey ¶
func (UnimplementedAPIServiceHandler) DeleteApplication ¶
func (UnimplementedAPIServiceHandler) DeleteEnvVar ¶ added in v0.7.3
func (UnimplementedAPIServiceHandler) DeleteRepository ¶
func (UnimplementedAPIServiceHandler) DeleteUserKey ¶
func (UnimplementedAPIServiceHandler) GenerateKeyPair ¶ added in v0.6.0
func (UnimplementedAPIServiceHandler) GetAllBuilds ¶ added in v0.13.0
func (UnimplementedAPIServiceHandler) GetAllBuilds(context.Context, *connect.Request[pb.GetAllBuildsRequest]) (*connect.Response[pb.GetBuildsResponse], error)
func (UnimplementedAPIServiceHandler) GetApplication ¶
func (UnimplementedAPIServiceHandler) GetApplication(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.Application], error)
func (UnimplementedAPIServiceHandler) GetApplicationMetrics ¶ added in v0.15.0
func (UnimplementedAPIServiceHandler) GetApplicationMetrics(context.Context, *connect.Request[pb.GetApplicationMetricsRequest]) (*connect.Response[pb.ApplicationMetrics], error)
func (UnimplementedAPIServiceHandler) GetApplications ¶
func (UnimplementedAPIServiceHandler) GetApplications(context.Context, *connect.Request[pb.GetApplicationsRequest]) (*connect.Response[pb.GetApplicationsResponse], error)
func (UnimplementedAPIServiceHandler) GetAvailableMetrics ¶ added in v0.15.0
func (UnimplementedAPIServiceHandler) GetBuildArtifact ¶
func (UnimplementedAPIServiceHandler) GetBuildArtifact(context.Context, *connect.Request[pb.ArtifactIdRequest]) (*connect.Response[pb.ArtifactContent], error)
func (UnimplementedAPIServiceHandler) GetBuildLog ¶
func (UnimplementedAPIServiceHandler) GetBuildLogStream ¶
func (UnimplementedAPIServiceHandler) GetBuildLogStream(context.Context, *connect.Request[pb.BuildIdRequest], *connect.ServerStream[pb.BuildLog]) error
func (UnimplementedAPIServiceHandler) GetBuilds ¶
func (UnimplementedAPIServiceHandler) GetBuilds(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.GetBuildsResponse], error)
func (UnimplementedAPIServiceHandler) GetEnvVars ¶
func (UnimplementedAPIServiceHandler) GetEnvVars(context.Context, *connect.Request[pb.ApplicationIdRequest]) (*connect.Response[pb.ApplicationEnvVars], error)
func (UnimplementedAPIServiceHandler) GetOutput ¶
func (UnimplementedAPIServiceHandler) GetOutput(context.Context, *connect.Request[pb.GetOutputRequest]) (*connect.Response[pb.ApplicationOutputs], error)
func (UnimplementedAPIServiceHandler) GetOutputStream ¶
func (UnimplementedAPIServiceHandler) GetOutputStream(context.Context, *connect.Request[pb.GetOutputStreamRequest], *connect.ServerStream[pb.ApplicationOutput]) error
func (UnimplementedAPIServiceHandler) GetRepositories ¶
func (UnimplementedAPIServiceHandler) GetRepositories(context.Context, *connect.Request[pb.GetRepositoriesRequest]) (*connect.Response[pb.GetRepositoriesResponse], error)
func (UnimplementedAPIServiceHandler) GetRepository ¶
func (UnimplementedAPIServiceHandler) GetRepository(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.Repository], error)
func (UnimplementedAPIServiceHandler) GetRepositoryCommits ¶ added in v1.3.0
func (UnimplementedAPIServiceHandler) GetRepositoryCommits(context.Context, *connect.Request[pb.GetRepositoryCommitsRequest]) (*connect.Response[pb.GetRepositoryCommitsResponse], error)
func (UnimplementedAPIServiceHandler) GetRepositoryRefs ¶ added in v0.13.0
func (UnimplementedAPIServiceHandler) GetRepositoryRefs(context.Context, *connect.Request[pb.RepositoryIdRequest]) (*connect.Response[pb.GetRepositoryRefsResponse], error)
func (UnimplementedAPIServiceHandler) GetSystemInfo ¶ added in v0.10.1
func (UnimplementedAPIServiceHandler) GetUserKeys ¶
func (UnimplementedAPIServiceHandler) RefreshRepository ¶
func (UnimplementedAPIServiceHandler) RetryCommitBuild ¶
func (UnimplementedAPIServiceHandler) StartApplication ¶
func (UnimplementedAPIServiceHandler) StopApplication ¶
func (UnimplementedAPIServiceHandler) UpdateApplication ¶
func (UnimplementedAPIServiceHandler) UpdateRepository ¶
type UnimplementedBuildpackHelperServiceHandler ¶ added in v1.1.0
type UnimplementedBuildpackHelperServiceHandler struct{}
UnimplementedBuildpackHelperServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedBuildpackHelperServiceHandler) CopyFileTree ¶ added in v1.1.0
type UnimplementedControllerBuilderServiceHandler ¶
type UnimplementedControllerBuilderServiceHandler struct{}
UnimplementedControllerBuilderServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder ¶
func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder(context.Context, *connect.BidiStream[pb.BuilderResponse, pb.BuilderRequest]) error
func (UnimplementedControllerBuilderServiceHandler) GetBuilderSystemInfo ¶ added in v1.1.0
func (UnimplementedControllerBuilderServiceHandler) SaveArtifact ¶ added in v1.1.0
func (UnimplementedControllerBuilderServiceHandler) SaveBuildLog ¶ added in v1.1.0
func (UnimplementedControllerBuilderServiceHandler) SaveRuntimeImage ¶ added in v1.5.0
func (UnimplementedControllerBuilderServiceHandler) StreamBuildLog ¶ added in v1.1.0
func (UnimplementedControllerBuilderServiceHandler) StreamBuildLog(context.Context, *connect.ClientStream[pb.BuildLogPortion]) (*connect.Response[emptypb.Empty], error)
type UnimplementedControllerGiteaIntegrationServiceHandler ¶ added in v0.22.0
type UnimplementedControllerGiteaIntegrationServiceHandler struct{}
UnimplementedControllerGiteaIntegrationServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedControllerSSGenServiceHandler ¶
type UnimplementedControllerSSGenServiceHandler struct{}
UnimplementedControllerSSGenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerSSGenServiceHandler) ConnectSSGen ¶
func (UnimplementedControllerSSGenServiceHandler) ConnectSSGen(context.Context, *connect.Request[emptypb.Empty], *connect.ServerStream[pb.SSGenRequest]) error
type UnimplementedControllerServiceHandler ¶
type UnimplementedControllerServiceHandler struct{}
UnimplementedControllerServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerServiceHandler) CancelBuild ¶
func (UnimplementedControllerServiceHandler) FetchRepository ¶
func (UnimplementedControllerServiceHandler) GetSystemInfo ¶ added in v0.10.1
func (UnimplementedControllerServiceHandler) RegisterBuild ¶ added in v0.9.0
func (UnimplementedControllerServiceHandler) StreamBuildLog ¶
func (UnimplementedControllerServiceHandler) StreamBuildLog(context.Context, *connect.Request[pb.BuildIdRequest], *connect.ServerStream[pb.BuildLog]) error