pbconnect

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const (
	// ControllerServiceGetAvailableDomainsProcedure is the fully-qualified name of the
	// ControllerService's GetAvailableDomains RPC.
	ControllerServiceGetAvailableDomainsProcedure = "/neoshowcase.protobuf.ControllerService/GetAvailableDomains"
	// ControllerServiceGetAvailablePortsProcedure is the fully-qualified name of the
	// ControllerService's GetAvailablePorts RPC.
	ControllerServiceGetAvailablePortsProcedure = "/neoshowcase.protobuf.ControllerService/GetAvailablePorts"
	// ControllerServiceFetchRepositoryProcedure is the fully-qualified name of the ControllerService's
	// FetchRepository RPC.
	ControllerServiceFetchRepositoryProcedure = "/neoshowcase.protobuf.ControllerService/FetchRepository"
	// ControllerServiceRegisterBuildsProcedure is the fully-qualified name of the ControllerService's
	// RegisterBuilds RPC.
	ControllerServiceRegisterBuildsProcedure = "/neoshowcase.protobuf.ControllerService/RegisterBuilds"
	// 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.

View Source
const (
	// APIServiceGetSystemPublicKeyProcedure is the fully-qualified name of the APIService's
	// GetSystemPublicKey RPC.
	APIServiceGetSystemPublicKeyProcedure = "/neoshowcase.protobuf.APIService/GetSystemPublicKey"
	// APIServiceGetAvailableDomainsProcedure is the fully-qualified name of the APIService's
	// GetAvailableDomains RPC.
	APIServiceGetAvailableDomainsProcedure = "/neoshowcase.protobuf.APIService/GetAvailableDomains"
	// APIServiceGetAvailablePortsProcedure is the fully-qualified name of the APIService's
	// GetAvailablePorts RPC.
	APIServiceGetAvailablePortsProcedure = "/neoshowcase.protobuf.APIService/GetAvailablePorts"
	// 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"
	// 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"
	// 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.

View Source
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 {
	// GetSystemPublicKey システムのSSH公開鍵を取得します リポジトリごとにSSH秘密鍵を設定しないデフォルトSSH認証で使用します
	GetSystemPublicKey(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetSystemPublicKeyResponse], error)
	// GetAvailableDomains 使用可能なドメイン一覧を取得します
	GetAvailableDomains(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.AvailableDomains], error)
	// GetAvailablePorts 使用可能なポート一覧を取得します
	GetAvailablePorts(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.AvailablePorts], 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)
	// GetOutput アプリの出力を取得します
	GetOutput(context.Context, *connect_go.Request[pb.GetOutputRequest]) (*connect_go.Response[pb.GetOutputResponse], error)
	// GetOutputStream アプリの出力をストリーム形式で取得します
	GetOutputStream(context.Context, *connect_go.Request[pb.GetOutputStreamRequest]) (*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 {
	// GetSystemPublicKey システムのSSH公開鍵を取得します リポジトリごとにSSH秘密鍵を設定しないデフォルトSSH認証で使用します
	GetSystemPublicKey(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.GetSystemPublicKeyResponse], error)
	// GetAvailableDomains 使用可能なドメイン一覧を取得します
	GetAvailableDomains(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.AvailableDomains], error)
	// GetAvailablePorts 使用可能なポート一覧を取得します
	GetAvailablePorts(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[pb.AvailablePorts], 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)
	// GetOutput アプリの出力を取得します
	GetOutput(context.Context, *connect_go.Request[pb.GetOutputRequest]) (*connect_go.Response[pb.GetOutputResponse], error)
	// GetOutputStream アプリの出力をストリーム形式で取得します
	GetOutputStream(context.Context, *connect_go.Request[pb.GetOutputStreamRequest], *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

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

ControllerServiceHandler is an implementation of the neoshowcase.protobuf.ControllerService service.

type UnimplementedAPIServiceHandler

type UnimplementedAPIServiceHandler struct{}

UnimplementedAPIServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedAPIServiceHandler) DeleteEnvVar added in v0.7.3

func (UnimplementedAPIServiceHandler) GenerateKeyPair added in v0.6.0

func (UnimplementedAPIServiceHandler) GetAvailablePorts added in v0.3.0

func (UnimplementedAPIServiceHandler) GetBuild

func (UnimplementedAPIServiceHandler) GetMe

func (UnimplementedAPIServiceHandler) GetUsers added in v0.4.6

type UnimplementedControllerBuilderServiceHandler

type UnimplementedControllerBuilderServiceHandler struct{}

UnimplementedControllerBuilderServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder

type UnimplementedControllerSSGenServiceHandler

type UnimplementedControllerSSGenServiceHandler struct{}

UnimplementedControllerSSGenServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedControllerServiceHandler

type UnimplementedControllerServiceHandler struct{}

UnimplementedControllerServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedControllerServiceHandler) CancelBuild

func (UnimplementedControllerServiceHandler) GetAvailableDomains added in v0.4.0

func (UnimplementedControllerServiceHandler) GetAvailablePorts added in v0.4.0

func (UnimplementedControllerServiceHandler) RegisterBuilds

func (UnimplementedControllerServiceHandler) SyncDeployments

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL