pbconnect

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 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"
	// 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"
)
View Source
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.

View Source
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.

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.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

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

BuildpackHelperServiceHandler is an implementation of the neoshowcase.protobuf.BuildpackHelperService service.

type ControllerBuilderServiceClient

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

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

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

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) CreateUserKey

func (UnimplementedAPIServiceHandler) DeleteEnvVar added in v0.7.3

func (UnimplementedAPIServiceHandler) DeleteRepository

func (UnimplementedAPIServiceHandler) GenerateKeyPair added in v0.6.0

func (UnimplementedAPIServiceHandler) GetAllBuilds added in v0.13.0

func (UnimplementedAPIServiceHandler) GetApplicationMetrics added in v0.15.0

func (UnimplementedAPIServiceHandler) GetAvailableMetrics added in v0.15.0

func (UnimplementedAPIServiceHandler) GetBuild

func (UnimplementedAPIServiceHandler) GetBuildLog

func (UnimplementedAPIServiceHandler) GetBuildLogStream

func (UnimplementedAPIServiceHandler) GetMe

func (UnimplementedAPIServiceHandler) GetRepositoryCommits added in v1.3.0

func (UnimplementedAPIServiceHandler) GetRepositoryRefs added in v0.13.0

func (UnimplementedAPIServiceHandler) GetSystemInfo added in v0.10.1

func (UnimplementedAPIServiceHandler) GetUsers added in v0.4.6

func (UnimplementedAPIServiceHandler) RefreshRepository

type UnimplementedBuildpackHelperServiceHandler added in v1.1.0

type UnimplementedBuildpackHelperServiceHandler struct{}

UnimplementedBuildpackHelperServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedBuildpackHelperServiceHandler) CopyFileTree added in v1.1.0

func (UnimplementedBuildpackHelperServiceHandler) Exec added in v1.1.0

type UnimplementedControllerBuilderServiceHandler

type UnimplementedControllerBuilderServiceHandler struct{}

UnimplementedControllerBuilderServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedControllerBuilderServiceHandler) ConnectBuilder

func (UnimplementedControllerBuilderServiceHandler) GetBuilderSystemInfo added in v1.1.0

func (UnimplementedControllerBuilderServiceHandler) PingBuild 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

type UnimplementedControllerGiteaIntegrationServiceHandler added in v0.22.0

type UnimplementedControllerGiteaIntegrationServiceHandler struct{}

UnimplementedControllerGiteaIntegrationServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedControllerGiteaIntegrationServiceHandler) Connect added in v0.22.0

type UnimplementedControllerSSGenServiceHandler

type UnimplementedControllerSSGenServiceHandler struct{}

UnimplementedControllerSSGenServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedControllerSSGenServiceHandler) ConnectSSGen

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) SyncDeployments

Jump to

Keyboard shortcuts

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