Add app source and tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
33
lib/Peach/see/deploy/single/ConnectDeploy.dart
Normal file
33
lib/Peach/see/deploy/single/ConnectDeploy.dart
Normal file
@@ -0,0 +1,33 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import '../../../comms/Comms.dart' show DeployResult;
|
||||
|
||||
abstract class ConnectDeploy {
|
||||
/// nginx's configured roots, used to warn when a web service deploys
|
||||
/// somewhere nginx isn't serving.
|
||||
void onNginxRootsLoaded(List<String> roots);
|
||||
|
||||
/// A jar / binary is staged and ready to ship.
|
||||
void onJarStaged(Uint8List bytes, String name, String source);
|
||||
|
||||
/// A built site directory is staged and ready to ship.
|
||||
void onWebStaged(String directory, String source);
|
||||
|
||||
/// A local build finished; [message] explains a failure.
|
||||
void onBuildFailed(String message);
|
||||
|
||||
/// Packaging a web build began (it can take a while on big sites).
|
||||
void onPackagingStarted();
|
||||
|
||||
/// The deploy finished, successfully or not.
|
||||
void onDeployFinished(DeployResult result);
|
||||
|
||||
/// A revert finished.
|
||||
void onRevertFinished(DeployResult result);
|
||||
|
||||
/// The kept-backup was discarded.
|
||||
void onBackupDiscarded();
|
||||
|
||||
/// Live tail started or stopped.
|
||||
void onFollowChanged(bool following);
|
||||
}
|
||||
Reference in New Issue
Block a user