Documentation ¶
Index ¶
- func FailRun(ctx context.Context, ghApp ghapp.GHAppClient, db *database.DB, ...)
- func NewGHLauncher(db *database.DB, ghApp ghapp.GHAppClient, clusterClient cluster.Client, ...) *ghLauncher
- func SuccessRun(ctx context.Context, ghApp ghapp.GHAppClient, db *database.DB, ...)
- type GHLauncher
- type LaunchEnvironmentRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailRun ¶
func FailRun( ctx context.Context, ghApp ghapp.GHAppClient, db *database.DB, envFrontendLink string, env *database.Environment, sha string, validationError *transformer.ProjectValidationError, )
func NewGHLauncher ¶
func NewGHLauncher( db *database.DB, ghApp ghapp.GHAppClient, clusterClient cluster.Client, envVarsProvider envvars.EnvVarsProvider, privRegistryProvider privregistry.PrivRegistryProvider, environmentsProvider environments.EnvironmentsProvider, dockerhubPullSecretName string, frontendURL string, ) *ghLauncher
func SuccessRun ¶
func SuccessRun( ctx context.Context, ghApp ghapp.GHAppClient, db *database.DB, envFrontendLink string, compose *transformer.Environment, env *database.Environment, sha string, )
Types ¶
type GHLauncher ¶
type GHLauncher interface {
LaunchEnvironment(ctx context.Context, req LaunchEnvironmentRequest) error
}
Click to show internal directories.
Click to hide internal directories.