Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildImageParams ¶
type CreatePreviewEnvironmentParams ¶
type CreatePreviewEnvironmentParams struct {
Organization string
Repository string
PrNumber int
Branch string
GitLink string
GhInstallID int64
GhClient github.GitHubClientInteractor
Config models.PullRequestConfig
}
CreatePreviewEnvironmentParams はプレビュー環境を作成するためのパラメータです。
type GithubAppEvents ¶
type GithubAppEvents interface {
CreateNameSpace(ctx context.Context, organization string) error
ListNameSpace(ctx context.Context, prefix string) ([]string, error)
DeleteNameSpace(ctx context.Context, name string) error
CreatePreviewEnvironment(ctx context.Context, param CreatePreviewEnvironmentParams) error
DeletePreviewEnvironment(ctx context.Context, param DeletePreviewEnvironmentParams) error
UpdatePreviewEnvironment(ctx context.Context, param UpdatePreviewEnvironmentParams) error
}
githubAppEvents はGithubAppのインタラクターのインターフェースです。
func New ¶
func New( customController v1.K8SCustomControllerClient, opts ...Option, ) GithubAppEvents
New は新しいGithubAppのインタラクターを作成します。
type UpdatePreviewEnvironmentParams ¶
type UpdatePreviewEnvironmentParams struct {
Organization string
Repository string
PrNumber int
Branch string
GitLink string
GhInstallID int64
Config models.PullRequestConfig
GhClient github.GitHubClientInteractor
}
Click to show internal directories.
Click to hide internal directories.