Add Daemon API

This commit is contained in:
AnanyaKumar
2015-07-25 12:08:34 -07:00
committed by Ananya Kumar
parent 0d1f2cd227
commit d9b85652ae
14 changed files with 965 additions and 15 deletions

View File

@@ -110,9 +110,8 @@ func FuzzerFor(t *testing.T, version string, src rand.Source) *fuzz.Fuzzer {
c.FuzzNoCustom(j) // fuzz self without calling this function again
//j.TemplateRef = nil // this is required for round trip
},
func(j *api.ReplicationControllerStatus, c fuzz.Continue) {
// only replicas round trips
j.Replicas = int(c.RandUint64())
func(j *api.DaemonSpec, c fuzz.Continue) {
c.FuzzNoCustom(j) // fuzz self without calling this function again
},
func(j *api.List, c fuzz.Continue) {
c.FuzzNoCustom(j) // fuzz self without calling this function again