added configuration option for integration tests to run with go agent

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added spec:integration:go_agent

also created spec:unit and spec:integration namespaces

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
ignore errand integration specs for go agent

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
moved dummy cpi related functionality into dummy cpi

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
format settings_test.go

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
make sure that infrastructure settings are serialized to JSON in snake case so to stay consistent with Ruby agent

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
save agent info from cpi into a different file in integration tests

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
install go vet in travis

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
run go agent integration tests on travis

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
formatting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
properly populate heartbeat with job name/index/state

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
skip draining if agent has an empty apply spec

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
default job name and index to null when sending out heartbeats

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
error out when get_state action fails to get current spec

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added goshipit

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>