Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 28, 2015
  1. @vito @totherme

    dialer can be injected

    vito authored totherme committed
    this allows the caller to decide things like TCP keepalive
    configuration, timeouts, etc. etc.
    
    [#101647542] [#101732194]
Commits on Feb 25, 2015
  1. @vito @xoebus

    reduce log level of property handlers

    vito authored xoebus committed
    Signed-off-by: Chris Brown <cbrown@pivotal.io>
Commits on Feb 3, 2015
  1. @vito @atulkc

    bump to go 1.4.1 [#86810456]

    vito authored atulkc committed
    Signed-off-by: Atul Kshirsagar <atul.kshirsagar@gmail.com>
Commits on Oct 31, 2014
  1. @vito @maxbrunsfeld

    Add FakeClient

    vito authored maxbrunsfeld committed
    Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotal.io>
Commits on Oct 22, 2014
  1. @vito @johannespetzold

    Lookup: return ErrContainerNotFound explicitly

    vito authored johannespetzold committed
    this is more convenient for clients to check against
    
    Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>
Commits on Oct 21, 2014
  1. @vito @sykesm

    add get/set/remove property client/server impl

    vito authored sykesm committed
    we have expressly ignored the tests under client/ in favor of covering
    it all under server/ by using the client.
    
    [#79618100]
    
    Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Commits on Sep 12, 2014
  1. @vito

    one more go

    vito authored
Commits on Aug 28, 2014
  1. @vito

    flush stdout/stderr after process exits

    vito authored
    this fixes a race with quickly printing-and-exiting processes
  2. @vito @Zteve

    when failing to destroy, clear destroying lock

    vito authored Zteve committed
    [finishes #77768828]
    
    Signed-off-by: Steve Powell <spowell@pivotal.io>
Commits on Aug 12, 2014
  1. @vito

    regenerate fakes

    vito authored
Commits on Aug 11, 2014
  1. @vito @stewartnickolas

    prevent concurrent container destruction

    vito authored stewartnickolas committed
    [finishes #76616270]
    
    Signed-off-by: Stew Nickolas <nickolas@us.ibm.com>
Commits on Aug 8, 2014
  1. @vito
Commits on Jul 31, 2014
  1. @vito @sykesm

    add server/request logging

    vito authored sykesm committed
    Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
  2. @vito
  3. @vito

    stream out: close backend stream when conn. breaks

    vito authored
    also introduce very early work on lager
Commits on Jul 22, 2014
  1. @vito

    Merge pull request #16 from cloudfoundry-incubator/tty-in-run

    vito authored
    tty can be configured as part of process spec
Commits on Jul 19, 2014
  1. @vito

    tty can be configured as part of process spec

    vito authored
    this allows configuration like window size to be configured immediately;
    otherwise there is a race with the process starting, where sending window size
    may not be effective
Commits on Jul 14, 2014
  1. @vito

    Merge pull request #15 from cloudfoundry-incubator/winsize

    vito authored
    add window size to process protocol
Commits on Jul 12, 2014
  1. @vito

    add window size to process protocol

    vito authored
    this can be sent by the client to resize the tty attached to the process.
    
    there is no response sent back; the message is of low importance and may be
    sent many times (when a user is literally resizing their terminal), so it's
    probably not worth the roundtrip.
Commits on Jul 11, 2014
  1. @vito

    regenerate fakes (no-op)

    vito authored Sheel Choksi committed
    Signed-off-by: Sheel Choksi <sheelc@pivotallabs.com>
  2. @vito
Commits on Jul 9, 2014
  1. @vito

    Stdout/Stderr are no longer io.Closers

    vito authored
    this actually ended up being inconvenient in many places. a very common use
    case is emitting logs over a persistent connection; having that connection
    close after the process exits is pretty inconvenient. it also assumes you have
    an io.Closer in the first place.
    
    this also brings it yet closer to *exec.Cmd
  2. @vito
Commits on Jul 8, 2014
  1. @vito

    remove extraneous TODO

    vito authored
Commits on Jul 7, 2014
  1. @vito

    server passes stdin payloads to backend

    vito authored
    closes the stream when a Stdin payload is received with no data
  2. @vito
  3. @vito

    rework Run/Attach interface

    vito authored
    * stdin/stdout/stderr are done via io.Readers/io.WriteClosers, rather than
      everything going over one channel
    * Env is now a simple []string, just to be a bit more like exec.Cmd, which
      also tries to be a OS-agnostic interface, despite K=V being 'Unixy'
    * the attach/run API calls are now hijacked HTTP connections, so that stdin
      may be sent across the wire later
    * rather than consuming the full stream until a payload with an ExitStatus is
      detected, the caller can call process.Wait() to block until it exits, which
      will return you its exit status.
    * an 'error' field has been added to ProcessPayload to signify .Wait() failing
      server-side. this will bubble up to the client, which will return an error
      on its respective .Wait().
Commits on Jul 4, 2014
  1. @vito

    generate connection interface

    vito authored
  2. @vito
  3. @vito
Commits on Jul 1, 2014
  1. @vito
Commits on Jun 23, 2014
  1. @vito
  2. @vito

    fix fake client

    vito authored
  3. @vito

    remove now-unused drain package

    vito authored
  4. @vito
Something went wrong with that request. Please try again.