예제 #1
0
 public DockerEngineClientFactory(
     ISshClientFactory sshClientFactory,
     ILogger logger)
 {
     this.sshClientFactory = sshClientFactory;
     this.logger           = logger;
 }
        public CompleteInstanceSetupState(
            ISshClientFactory sshClientFactory,
            IMediator mediator) : base(sshClientFactory)
        {
            this.Description = "Completing instance setup";

            this.mediator = mediator;
        }
        public InstallSoftwareOnInstanceState(
            ISshClientFactory sshClientFactory,
            IMediator mediator) : base(sshClientFactory)
        {
            this.mediator = mediator;

            this.description = "Configuring instance";
        }
        public RunDockerComposeOnInstanceState(
            ISshClientFactory sshClientFactory,
            IMediator mediator,
            IDockerComposeParserFactory dockerComposeParserFactory) : base(sshClientFactory)
        {
            this.mediator = mediator;
            this.dockerComposeParserFactory = dockerComposeParserFactory;

            description = "Installing your services using Docker Compose";
        }
예제 #5
0
 protected SshInstanceState(
     ISshClientFactory sshClientFactory)
 {
     this.sshClientFactory = sshClientFactory;
 }