Documentation ¶
Index ¶
- func CreateAndRunTrigger(ctx context.Context, logger *zap.Logger, creds []byte, project string, ...) (string, error)
- func CreateReviewApp(ctx context.Context, db *core.DB, l *zap.Logger, branch string, appName string, ...) (string, error)
- func DeleteReviewApp(ctx context.Context, db *core.DB, reviewAppName string, credentials []byte, ...) error
- func NewReviewAppSetup(sourceApp string, reviewApp string) error
- func ReviewAppName(appName string, branch string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndRunTrigger ¶
func CreateAndRunTrigger(ctx context.Context, logger *zap.Logger, creds []byte, project string, branch string, cloudSourceRepo string, reviewAppName string) (string, error)
CreateAndRunTrigger creates a cloud build trigger for the review app
func CreateReviewApp ¶
func DeleteReviewApp ¶
func NewReviewAppSetup ¶
NewReviewAppSetup replicates a namespace and its roles, rolebindings, and opaque secrets after removing their non-generic metadata. Also renames source app name matches across all relevant resources.
func ReviewAppName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.