Documentation ¶
Index ¶
- Constants
- func NewAPIServiceHandler(svc APIServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewControllerBuilderServiceHandler(svc ControllerBuilderServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewControllerSSGenServiceHandler(svc ControllerSSGenServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- func NewControllerServiceHandler(svc ControllerServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type APIServiceClient
- type APIServiceHandler
- type ControllerBuilderServiceClient
- type ControllerBuilderServiceHandler
- type ControllerSSGenServiceClient
- type ControllerSSGenServiceHandler
- type ControllerServiceClient
- type ControllerServiceHandler
- type UnimplementedAPIServiceHandler
- func (UnimplementedAPIServiceHandler) CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) CreateApplication(context.Context, *connect_go.Request[pb.CreateApplicationRequest]) (*connect_go.Response[pb.Application], error)
- func (UnimplementedAPIServiceHandler) CreateRepository(context.Context, *connect_go.Request[pb.CreateRepositoryRequest]) (*connect_go.Response[pb.Repository], error)
- func (UnimplementedAPIServiceHandler) CreateUserKey(context.Context, *connect_go.Request[pb.CreateUserKeyRequest]) (*connect_go.Response[pb.UserKey], error)
- func (UnimplementedAPIServiceHandler) DeleteApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteEnvVar(context.Context, *connect_go.Request[pb.DeleteApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) DeleteUserKey(context.Context, *connect_go.Request[pb.DeleteUserKeyRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) GenerateKeyPair(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GenerateKeyPairResponse], error)
- func (UnimplementedAPIServiceHandler) GetApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.Application], error)
- func (UnimplementedAPIServiceHandler) GetApplications(context.Context, *connect_go.Request[pb.GetApplicationsRequest]) (*connect_go.Response[pb.GetApplicationsResponse], error)
- func (UnimplementedAPIServiceHandler) GetBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.Build], error)
- func (UnimplementedAPIServiceHandler) GetBuildArtifact(context.Context, *connect_go.Request[pb.ArtifactIdRequest]) (*connect_go.Response[pb.ArtifactContent], error)
- func (UnimplementedAPIServiceHandler) GetBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.BuildLog], error)
- func (UnimplementedAPIServiceHandler) GetBuildLogStream(context.Context, *connect_go.Request[pb.BuildIdRequest], ...) error
- func (UnimplementedAPIServiceHandler) GetBuilds(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.GetBuildsResponse], error)
- func (UnimplementedAPIServiceHandler) GetEnvVars(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.ApplicationEnvVars], error)
- func (UnimplementedAPIServiceHandler) GetMe(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.User], error)
- func (UnimplementedAPIServiceHandler) GetOutputStream(context.Context, *connect_go.Request[pb.ApplicationIdRequest], ...) error
- func (UnimplementedAPIServiceHandler) GetRepositories(context.Context, *connect_go.Request[pb.GetRepositoriesRequest]) (*connect_go.Response[pb.GetRepositoriesResponse], error)
- func (UnimplementedAPIServiceHandler) GetRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[pb.Repository], error)
- func (UnimplementedAPIServiceHandler) GetSystemInfo(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error)
- func (UnimplementedAPIServiceHandler) GetUserKeys(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUserKeysResponse], error)
- func (UnimplementedAPIServiceHandler) GetUsers(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUsersResponse], error)
- func (UnimplementedAPIServiceHandler) RefreshRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) RetryCommitBuild(context.Context, *connect_go.Request[pb.RetryCommitBuildRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) SetEnvVar(context.Context, *connect_go.Request[pb.SetApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) StartApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) StopApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) UpdateApplication(context.Context, *connect_go.Request[pb.UpdateApplicationRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedAPIServiceHandler) UpdateRepository(context.Context, *connect_go.Request[pb.UpdateRepositoryRequest]) (*connect_go.Response[emptypb.Empty], error)
- type UnimplementedControllerBuilderServiceHandler
- type UnimplementedControllerSSGenServiceHandler
- type UnimplementedControllerServiceHandler
- func (UnimplementedControllerServiceHandler) CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) FetchRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) GetSystemInfo(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error)
- func (UnimplementedControllerServiceHandler) RegisterBuild(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
- func (UnimplementedControllerServiceHandler) StreamBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest], ...) error
- func (UnimplementedControllerServiceHandler) SyncDeployments(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.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" // ControllerSSGenServiceName is the fully-qualified name of the ControllerSSGenService service. ControllerSSGenServiceName = "neoshowcase.protobuf.ControllerSSGenService" )
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" // ControllerBuilderServiceConnectBuilderProcedure is the fully-qualified name of the // ControllerBuilderService's ConnectBuilder RPC. ControllerBuilderServiceConnectBuilderProcedure = "/neoshowcase.protobuf.ControllerBuilderService/ConnectBuilder" // ControllerSSGenServiceConnectSSGenProcedure is the fully-qualified name of the // ControllerSSGenService's ConnectSSGen RPC. ControllerSSGenServiceConnectSSGenProcedure = "/neoshowcase.protobuf.ControllerSSGenService/ConnectSSGen" )
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" // APIServiceGetRepositoryProcedure is the fully-qualified name of the APIService's GetRepository // RPC. APIServiceGetRepositoryProcedure = "/neoshowcase.protobuf.APIService/GetRepository" // 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" // 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" // APIServiceGetOutputStreamProcedure is the fully-qualified name of the APIService's // GetOutputStream RPC. APIServiceGetOutputStreamProcedure = "/neoshowcase.protobuf.APIService/GetOutputStream" // 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" // 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_go.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 NewControllerBuilderServiceHandler ¶
func NewControllerBuilderServiceHandler(svc ControllerBuilderServiceHandler, opts ...connect_go.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 NewControllerSSGenServiceHandler ¶
func NewControllerSSGenServiceHandler(svc ControllerSSGenServiceHandler, opts ...connect_go.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_go.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_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error) // GenerateKeyPair リポジトリ登録で使用する鍵ペアを一時的に生成します GenerateKeyPair(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GenerateKeyPairResponse], error) // GetMe 自身の情報を取得します プロキシ認証のため常に成功します GetMe(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.User], error) // GetUsers 全てのユーザーの情報を取得します GetUsers(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUsersResponse], error) // CreateUserKey アプリコンテナSSH用の公開鍵を登録します CreateUserKey(context.Context, *connect_go.Request[pb.CreateUserKeyRequest]) (*connect_go.Response[pb.UserKey], error) // GetUserKeys 登録した公開鍵一覧を取得します GetUserKeys(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUserKeysResponse], error) // DeleteUserKey 登録した公開鍵を削除します DeleteUserKey(context.Context, *connect_go.Request[pb.DeleteUserKeyRequest]) (*connect_go.Response[emptypb.Empty], error) // CreateRepository リポジトリを登録します CreateRepository(context.Context, *connect_go.Request[pb.CreateRepositoryRequest]) (*connect_go.Response[pb.Repository], error) // GetRepositories リポジトリ一覧を取得します GetRepositories(context.Context, *connect_go.Request[pb.GetRepositoriesRequest]) (*connect_go.Response[pb.GetRepositoriesResponse], error) // GetRepository リポジトリを取得します GetRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[pb.Repository], error) // UpdateRepository リポジトリ情報を更新します UpdateRepository(context.Context, *connect_go.Request[pb.UpdateRepositoryRequest]) (*connect_go.Response[emptypb.Empty], error) // RefreshRepository 自動更新間隔を待たず、手動でリモートリポジトリの最新情報に追従させます RefreshRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteRepository リポジトリを削除します 関連する全てのアプリケーションの削除が必要です DeleteRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) // CreateApplication アプリを作成します CreateApplication(context.Context, *connect_go.Request[pb.CreateApplicationRequest]) (*connect_go.Response[pb.Application], error) // GetApplications アプリ一覧を取得します GetApplications(context.Context, *connect_go.Request[pb.GetApplicationsRequest]) (*connect_go.Response[pb.GetApplicationsResponse], error) // GetApplication アプリを取得します GetApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.Application], error) // UpdateApplication アプリ情報を更新します UpdateApplication(context.Context, *connect_go.Request[pb.UpdateApplicationRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteApplication アプリを削除します 先にアプリのシャットダウンが必要です DeleteApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetEnvVars アプリの環境変数を取得します GetEnvVars(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.ApplicationEnvVars], error) // SetEnvVar アプリの環境変数をセットします システムによって設定された環境変数は上書きできません SetEnvVar(context.Context, *connect_go.Request[pb.SetApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteEnvVar アプリの環境変数を削除します システムによって設定された環境変数は削除できません DeleteEnvVar(context.Context, *connect_go.Request[pb.DeleteApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error) // GetOutputStream アプリの出力をストリーム形式で取得します GetOutputStream(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.ServerStreamForClient[pb.ApplicationOutput], error) // StartApplication アプリを起動します 起動中の場合は再起動します StartApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // StopApplication アプリをシャットダウンします StopApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetBuilds アプリのビルド一覧を取得します GetBuilds(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.GetBuildsResponse], error) // GetBuild アプリのビルド情報を取得します GetBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.Build], error) // RetryCommitBuild アプリの該当コミットのビルドをやり直します RetryCommitBuild(context.Context, *connect_go.Request[pb.RetryCommitBuildRequest]) (*connect_go.Response[emptypb.Empty], error) // CancelBuild 該当ビルドが進行中の場合キャンセルします CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetBuildLog 終了したビルドのログを取得します GetBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.BuildLog], error) // GetBuildLogStream ビルド中のログをストリーム形式で取得します GetBuildLogStream(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.ServerStreamForClient[pb.BuildLog], error) // GetBuildArtifact 静的サイトアプリの場合ビルド成果物(静的ファイルのtar)を取得します GetBuildArtifact(context.Context, *connect_go.Request[pb.ArtifactIdRequest]) (*connect_go.Response[pb.ArtifactContent], error) }
APIServiceClient is a client for the neoshowcase.protobuf.APIService service.
func NewAPIServiceClient ¶
func NewAPIServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.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_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error) // GenerateKeyPair リポジトリ登録で使用する鍵ペアを一時的に生成します GenerateKeyPair(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GenerateKeyPairResponse], error) // GetMe 自身の情報を取得します プロキシ認証のため常に成功します GetMe(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.User], error) // GetUsers 全てのユーザーの情報を取得します GetUsers(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUsersResponse], error) // CreateUserKey アプリコンテナSSH用の公開鍵を登録します CreateUserKey(context.Context, *connect_go.Request[pb.CreateUserKeyRequest]) (*connect_go.Response[pb.UserKey], error) // GetUserKeys 登録した公開鍵一覧を取得します GetUserKeys(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUserKeysResponse], error) // DeleteUserKey 登録した公開鍵を削除します DeleteUserKey(context.Context, *connect_go.Request[pb.DeleteUserKeyRequest]) (*connect_go.Response[emptypb.Empty], error) // CreateRepository リポジトリを登録します CreateRepository(context.Context, *connect_go.Request[pb.CreateRepositoryRequest]) (*connect_go.Response[pb.Repository], error) // GetRepositories リポジトリ一覧を取得します GetRepositories(context.Context, *connect_go.Request[pb.GetRepositoriesRequest]) (*connect_go.Response[pb.GetRepositoriesResponse], error) // GetRepository リポジトリを取得します GetRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[pb.Repository], error) // UpdateRepository リポジトリ情報を更新します UpdateRepository(context.Context, *connect_go.Request[pb.UpdateRepositoryRequest]) (*connect_go.Response[emptypb.Empty], error) // RefreshRepository 自動更新間隔を待たず、手動でリモートリポジトリの最新情報に追従させます RefreshRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteRepository リポジトリを削除します 関連する全てのアプリケーションの削除が必要です DeleteRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) // CreateApplication アプリを作成します CreateApplication(context.Context, *connect_go.Request[pb.CreateApplicationRequest]) (*connect_go.Response[pb.Application], error) // GetApplications アプリ一覧を取得します GetApplications(context.Context, *connect_go.Request[pb.GetApplicationsRequest]) (*connect_go.Response[pb.GetApplicationsResponse], error) // GetApplication アプリを取得します GetApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.Application], error) // UpdateApplication アプリ情報を更新します UpdateApplication(context.Context, *connect_go.Request[pb.UpdateApplicationRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteApplication アプリを削除します 先にアプリのシャットダウンが必要です DeleteApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetEnvVars アプリの環境変数を取得します GetEnvVars(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.ApplicationEnvVars], error) // SetEnvVar アプリの環境変数をセットします システムによって設定された環境変数は上書きできません SetEnvVar(context.Context, *connect_go.Request[pb.SetApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error) // DeleteEnvVar アプリの環境変数を削除します システムによって設定された環境変数は削除できません DeleteEnvVar(context.Context, *connect_go.Request[pb.DeleteApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error) // GetOutputStream アプリの出力をストリーム形式で取得します GetOutputStream(context.Context, *connect_go.Request[pb.ApplicationIdRequest], *connect_go.ServerStream[pb.ApplicationOutput]) error // StartApplication アプリを起動します 起動中の場合は再起動します StartApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // StopApplication アプリをシャットダウンします StopApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetBuilds アプリのビルド一覧を取得します GetBuilds(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.GetBuildsResponse], error) // GetBuild アプリのビルド情報を取得します GetBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.Build], error) // RetryCommitBuild アプリの該当コミットのビルドをやり直します RetryCommitBuild(context.Context, *connect_go.Request[pb.RetryCommitBuildRequest]) (*connect_go.Response[emptypb.Empty], error) // CancelBuild 該当ビルドが進行中の場合キャンセルします CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error) // GetBuildLog 終了したビルドのログを取得します GetBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.BuildLog], error) // GetBuildLogStream ビルド中のログをストリーム形式で取得します GetBuildLogStream(context.Context, *connect_go.Request[pb.BuildIdRequest], *connect_go.ServerStream[pb.BuildLog]) error // GetBuildArtifact 静的サイトアプリの場合ビルド成果物(静的ファイルのtar)を取得します GetBuildArtifact(context.Context, *connect_go.Request[pb.ArtifactIdRequest]) (*connect_go.Response[pb.ArtifactContent], error) }
APIServiceHandler is an implementation of the neoshowcase.protobuf.APIService service.
type ControllerBuilderServiceClient ¶
type ControllerBuilderServiceClient interface {
ConnectBuilder(context.Context) *connect_go.BidiStreamForClient[pb.BuilderResponse, pb.BuilderRequest]
}
ControllerBuilderServiceClient is a client for the neoshowcase.protobuf.ControllerBuilderService service.
func NewControllerBuilderServiceClient ¶
func NewControllerBuilderServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.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 {
ConnectBuilder(context.Context, *connect_go.BidiStream[pb.BuilderResponse, pb.BuilderRequest]) error
}
ControllerBuilderServiceHandler is an implementation of the neoshowcase.protobuf.ControllerBuilderService service.
type ControllerSSGenServiceClient ¶
type ControllerSSGenServiceClient interface {
ConnectSSGen(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.ServerStreamForClient[pb.SSGenRequest], error)
}
ControllerSSGenServiceClient is a client for the neoshowcase.protobuf.ControllerSSGenService service.
func NewControllerSSGenServiceClient ¶
func NewControllerSSGenServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.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_go.Request[emptypb.Empty], *connect_go.ServerStream[pb.SSGenRequest]) error
}
ControllerSSGenServiceHandler is an implementation of the neoshowcase.protobuf.ControllerSSGenService service.
type ControllerServiceClient ¶
type ControllerServiceClient interface { GetSystemInfo(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error) FetchRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) RegisterBuild(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) SyncDeployments(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) StreamBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.ServerStreamForClient[pb.BuildLog], error) CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error) }
ControllerServiceClient is a client for the neoshowcase.protobuf.ControllerService service.
func NewControllerServiceClient ¶
func NewControllerServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.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_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error) FetchRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error) RegisterBuild(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error) SyncDeployments(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) StreamBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest], *connect_go.ServerStream[pb.BuildLog]) error CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.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) CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) CreateApplication ¶
func (UnimplementedAPIServiceHandler) CreateApplication(context.Context, *connect_go.Request[pb.CreateApplicationRequest]) (*connect_go.Response[pb.Application], error)
func (UnimplementedAPIServiceHandler) CreateRepository ¶
func (UnimplementedAPIServiceHandler) CreateRepository(context.Context, *connect_go.Request[pb.CreateRepositoryRequest]) (*connect_go.Response[pb.Repository], error)
func (UnimplementedAPIServiceHandler) CreateUserKey ¶
func (UnimplementedAPIServiceHandler) CreateUserKey(context.Context, *connect_go.Request[pb.CreateUserKeyRequest]) (*connect_go.Response[pb.UserKey], error)
func (UnimplementedAPIServiceHandler) DeleteApplication ¶
func (UnimplementedAPIServiceHandler) DeleteApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) DeleteEnvVar ¶ added in v0.7.3
func (UnimplementedAPIServiceHandler) DeleteEnvVar(context.Context, *connect_go.Request[pb.DeleteApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) DeleteRepository ¶
func (UnimplementedAPIServiceHandler) DeleteRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) DeleteUserKey ¶
func (UnimplementedAPIServiceHandler) DeleteUserKey(context.Context, *connect_go.Request[pb.DeleteUserKeyRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) GenerateKeyPair ¶ added in v0.6.0
func (UnimplementedAPIServiceHandler) GenerateKeyPair(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GenerateKeyPairResponse], error)
func (UnimplementedAPIServiceHandler) GetApplication ¶
func (UnimplementedAPIServiceHandler) GetApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.Application], error)
func (UnimplementedAPIServiceHandler) GetApplications ¶
func (UnimplementedAPIServiceHandler) GetApplications(context.Context, *connect_go.Request[pb.GetApplicationsRequest]) (*connect_go.Response[pb.GetApplicationsResponse], error)
func (UnimplementedAPIServiceHandler) GetBuild ¶
func (UnimplementedAPIServiceHandler) GetBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.Build], error)
func (UnimplementedAPIServiceHandler) GetBuildArtifact ¶
func (UnimplementedAPIServiceHandler) GetBuildArtifact(context.Context, *connect_go.Request[pb.ArtifactIdRequest]) (*connect_go.Response[pb.ArtifactContent], error)
func (UnimplementedAPIServiceHandler) GetBuildLog ¶
func (UnimplementedAPIServiceHandler) GetBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[pb.BuildLog], error)
func (UnimplementedAPIServiceHandler) GetBuildLogStream ¶
func (UnimplementedAPIServiceHandler) GetBuildLogStream(context.Context, *connect_go.Request[pb.BuildIdRequest], *connect_go.ServerStream[pb.BuildLog]) error
func (UnimplementedAPIServiceHandler) GetBuilds ¶
func (UnimplementedAPIServiceHandler) GetBuilds(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.GetBuildsResponse], error)
func (UnimplementedAPIServiceHandler) GetEnvVars ¶
func (UnimplementedAPIServiceHandler) GetEnvVars(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[pb.ApplicationEnvVars], error)
func (UnimplementedAPIServiceHandler) GetMe ¶
func (UnimplementedAPIServiceHandler) GetMe(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.User], error)
func (UnimplementedAPIServiceHandler) GetOutputStream ¶
func (UnimplementedAPIServiceHandler) GetOutputStream(context.Context, *connect_go.Request[pb.ApplicationIdRequest], *connect_go.ServerStream[pb.ApplicationOutput]) error
func (UnimplementedAPIServiceHandler) GetRepositories ¶
func (UnimplementedAPIServiceHandler) GetRepositories(context.Context, *connect_go.Request[pb.GetRepositoriesRequest]) (*connect_go.Response[pb.GetRepositoriesResponse], error)
func (UnimplementedAPIServiceHandler) GetRepository ¶
func (UnimplementedAPIServiceHandler) GetRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[pb.Repository], error)
func (UnimplementedAPIServiceHandler) GetSystemInfo ¶ added in v0.10.1
func (UnimplementedAPIServiceHandler) GetSystemInfo(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error)
func (UnimplementedAPIServiceHandler) GetUserKeys ¶
func (UnimplementedAPIServiceHandler) GetUserKeys(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUserKeysResponse], error)
func (UnimplementedAPIServiceHandler) GetUsers ¶ added in v0.4.6
func (UnimplementedAPIServiceHandler) GetUsers(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetUsersResponse], error)
func (UnimplementedAPIServiceHandler) RefreshRepository ¶
func (UnimplementedAPIServiceHandler) RefreshRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) RetryCommitBuild ¶
func (UnimplementedAPIServiceHandler) RetryCommitBuild(context.Context, *connect_go.Request[pb.RetryCommitBuildRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) SetEnvVar ¶
func (UnimplementedAPIServiceHandler) SetEnvVar(context.Context, *connect_go.Request[pb.SetApplicationEnvVarRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) StartApplication ¶
func (UnimplementedAPIServiceHandler) StartApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) StopApplication ¶
func (UnimplementedAPIServiceHandler) StopApplication(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) UpdateApplication ¶
func (UnimplementedAPIServiceHandler) UpdateApplication(context.Context, *connect_go.Request[pb.UpdateApplicationRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedAPIServiceHandler) UpdateRepository ¶
func (UnimplementedAPIServiceHandler) UpdateRepository(context.Context, *connect_go.Request[pb.UpdateRepositoryRequest]) (*connect_go.Response[emptypb.Empty], error)
type UnimplementedControllerBuilderServiceHandler ¶
type UnimplementedControllerBuilderServiceHandler struct{}
UnimplementedControllerBuilderServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder ¶
func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder(context.Context, *connect_go.BidiStream[pb.BuilderResponse, pb.BuilderRequest]) error
type UnimplementedControllerSSGenServiceHandler ¶
type UnimplementedControllerSSGenServiceHandler struct{}
UnimplementedControllerSSGenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerSSGenServiceHandler) ConnectSSGen ¶
func (UnimplementedControllerSSGenServiceHandler) ConnectSSGen(context.Context, *connect_go.Request[emptypb.Empty], *connect_go.ServerStream[pb.SSGenRequest]) error
type UnimplementedControllerServiceHandler ¶
type UnimplementedControllerServiceHandler struct{}
UnimplementedControllerServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedControllerServiceHandler) CancelBuild ¶
func (UnimplementedControllerServiceHandler) CancelBuild(context.Context, *connect_go.Request[pb.BuildIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedControllerServiceHandler) FetchRepository ¶
func (UnimplementedControllerServiceHandler) FetchRepository(context.Context, *connect_go.Request[pb.RepositoryIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedControllerServiceHandler) GetSystemInfo ¶ added in v0.10.1
func (UnimplementedControllerServiceHandler) GetSystemInfo(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.SystemInfo], error)
func (UnimplementedControllerServiceHandler) RegisterBuild ¶ added in v0.9.0
func (UnimplementedControllerServiceHandler) RegisterBuild(context.Context, *connect_go.Request[pb.ApplicationIdRequest]) (*connect_go.Response[emptypb.Empty], error)
func (UnimplementedControllerServiceHandler) StreamBuildLog ¶
func (UnimplementedControllerServiceHandler) StreamBuildLog(context.Context, *connect_go.Request[pb.BuildIdRequest], *connect_go.ServerStream[pb.BuildLog]) error
func (UnimplementedControllerServiceHandler) SyncDeployments ¶
func (UnimplementedControllerServiceHandler) SyncDeployments(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error)